File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -34,8 +34,9 @@ function(check_python_package PACKAGENAME OUTPUT_VAR)
3434 if (NEED_TO_RUN_CHECK)
3535 set (PY_INTERP_FOR_${OUTPUT_VAR} ${Python3_EXECUTABLE} CACHE INTERNAL "The python interpreter used to run the ${OUTPUT_VAR} check" FORCE)
3636
37- execute_process (COMMAND ${Python3_EXECUTABLE} ${PYTHON_PACKAGECHECK_SCRIPT} ${PACKAGENAME}
38- RESULT_VARIABLE PACKAGECHECK_RESULT)
37+ execute_process (
38+ COMMAND ${Python3_EXECUTABLE} ${PYTHON_PACKAGECHECK_SCRIPT} ${PACKAGENAME} RESULT_VARIABLE PACKAGECHECK_RESULT
39+ )
3940
4041 if (${PACKAGECHECK_RESULT} EQUAL 0)
4142 set (HAVE_PACKAGE TRUE )
@@ -66,4 +67,4 @@ function(verify_python_package PACKAGENAME)
6667 if (NOT ${HAVE_VAR_NAME} )
6768 message (FATAL_ERROR "The required Python package ${PACKAGENAME} was not found in ${Python3_EXECUTABLE} . Please install it." )
6869 endif ()
69- endfunction (verify_python_package)
70+ endfunction (verify_python_package)
You can’t perform that action at this time.
0 commit comments