September 2018
Intermediate to advanced
606 pages
14h 32m
English
How do we make sure that the Python header and libraries are correctly located even when they are not in a standard installation directory? For the Python interpreter, it is possible to force CMake to look in specific directories by passing the PYTHON_LIBRARY and PYTHON_INCLUDE_DIR options via the -D option to the CLI. These options specify the following:
This ensures that the desired version of Python will be picked up.
Read now
Unlock full access