September 2018
Intermediate to advanced
606 pages
14h 32m
English
Sometimes, packages are not installed in standard locations and CMake might fail to locate them correctly. It is possible to tell CMake to look into certain specific locations to find certain software using the CLI switch -D to pass the appropriate option. In the case of the Python interpreter, you may configure with the following:
$ cmake -D PYTHON_EXECUTABLE=/custom/location/python ..
This will correctly identify the Python executable in the non-standard /custom/location/python installation directory.
Read now
Unlock full access