better error message if python-dev is missing; closes #197

This commit is contained in:
Radovan Bast 2017-06-11 18:58:11 +02:00
parent 7f21bfc10e
commit 58a29ed461

View File

@ -75,7 +75,7 @@ find_package_handle_standard_args(PythonLibs
PYTHON_EXECUTABLE)
if(NOT PYTHONLIBS_FOUND)
message(FATAL_ERROR "Could NOT find PythonLibs")
message(FATAL_ERROR "Could NOT find PythonLibs - did you install the python-dev package?")
endif()
# Hook-up script variables to cache variables