cmake.find_python_module
- cmake.find_python_module.find_python_module(module **kwargs)
Custom function to locate a Python module. Requires the Python interpreter to be located first.
Sets PY_${module_upper} to the module file’s location if found.
- Parameters:
module – Python module name to locate
REQUIRED – Optional paramater, specifies that this module is required for continued execution.
Sets ${module}_FIND_REQUIRED to true.