Skip to content
Snippets Groups Projects
Commit 0f3a7806 authored by Ansgar Philippsen's avatar Ansgar Philippsen
Browse files

tweaked verbosity of cmake python module finder

parent 3cea708c
Branches
Tags
No related merge requests found
...@@ -744,6 +744,7 @@ endmacro() ...@@ -744,6 +744,7 @@ endmacro()
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
macro(ost_find_python_module MODULE) macro(ost_find_python_module MODULE)
if (NOT PYTHON_MODULE_${MODULE}) if (NOT PYTHON_MODULE_${MODULE})
message(STATUS "Searching for python module ${MODULE} for ${PYTHON_BINARY}")
execute_process(COMMAND ${PYTHON_BINARY} -c "import ${MODULE}" execute_process(COMMAND ${PYTHON_BINARY} -c "import ${MODULE}"
OUTPUT_QUIET ERROR_QUIET OUTPUT_QUIET ERROR_QUIET
RESULT_VARIABLE _IMPORT_ERROR) RESULT_VARIABLE _IMPORT_ERROR)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment