diff options
-rw-r--r-- | cmake/Modules/GrPython.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/Modules/GrPython.cmake b/cmake/Modules/GrPython.cmake index fdbd21d840..49a351d3a7 100644 --- a/cmake/Modules/GrPython.cmake +++ b/cmake/Modules/GrPython.cmake @@ -63,6 +63,7 @@ set(QA_PYTHON_EXECUTABLE ${QA_PYTHON_EXECUTABLE} CACHE FILEPATH "python interpre macro(GR_PYTHON_CHECK_MODULE_RAW desc python_code have) execute_process( COMMAND ${PYTHON_EXECUTABLE} -c "${python_code}" + OUTPUT_QUIET ERROR_QUIET RESULT_VARIABLE return_code ) if(return_code EQUAL 0) |