dawn_find_python_moduleΒΆ

Try to find a specific python module.

dawn_find_python_module(MODULE [REQUIRED])
MODULE
Python module to find.
REQUIRED
If set, abort with an error if MODULE was not found.

The module makes use of the PYTHON_EXECUTABLE which needs to be set before calling this function (see FindPythonInterp).

Variables defined:

PYTHON_<module>_FOUND
Python module is avialable where <module> is the python module to search for in all uppercase.
PYTHON_<module>_PATH
Path to the module where <module> is the python module to search for in all uppercase.