diff --git a/cmake/modules/DunePythonFindPackage.cmake b/cmake/modules/DunePythonFindPackage.cmake index b2752f0584c4c95cd8b557d1e80b7a64bb5d5c0b..8901d666a3b352e421404a7bec3ccc4a476d5cf1 100644 --- a/cmake/modules/DunePythonFindPackage.cmake +++ b/cmake/modules/DunePythonFindPackage.cmake @@ -101,7 +101,7 @@ function(dune_python_find_package) else() set(${PYPACKAGE_RESULT} FALSE) if(PYPACKAGE_REQUIRED) - message(FATAL_ERROR "The python package ${PYCHECK_PACKAGE} could not be found! (for interpreter ${PYPACKAGE_INTERPRETER})") + message(FATAL_ERROR "The python package ${PYPACKAGE_PACKAGE} could not be found! (for interpreter ${PYPACKAGE_INTERPRETER})") endif() endif()