5eec9da8fe
make search for python libraries consistent with search for python interpreter
...
- apply same semantics of selecting the interpreter than the main cmake script
- make certain that we search for the interpreter first
- when searching for the library find the version matching the interpreter
- error out when library version and interpreter version does not match
2022-07-19 13:28:43 -04:00
4d5bb08ead
make searching for python interpreter and development version futureproof and more consistent
2022-02-10 14:41:25 -05:00
09b8b117fc
cmake: consistent usage of find variable
2020-09-08 09:35:45 -06:00
9aa6d04997
cmake: move if(PKG_) out of cmake file
2020-04-05 14:57:06 -06:00
909b2dcff8
PYTHON.cmake: don't use PythonLibs on new cmake
2020-04-05 11:43:54 -06:00
33a57ed215
cmake: some more include_directories() -> target_include_directories()
2020-03-24 11:36:21 -06:00
572502b33d
cmake: add_definitions() -> target_compile_definitions()
2020-03-24 09:35:57 -06:00
5828815b3e
cmake: remove LAMMPS_LINK_LIBS
2020-03-22 18:55:53 -06:00
4ecd81f81b
Move CMake configuration of PYTHON package into its own file
2019-06-09 21:48:05 -04:00