diff --git a/cmake/external/python.cmake b/cmake/external/python.cmake index 4828d9ae9083fdb4045e784da0649b676147b3fb..ab3776084136e5d188372a0c62be71901139e018 100644 --- a/cmake/external/python.cmake +++ b/cmake/external/python.cmake @@ -27,7 +27,7 @@ print(s.get_config_var('LDVERSION') or s.get_config_var('VERSION')); OUTPUT_VARIABLE _PYTHON_VALUES ERROR_VARIABLE _PYTHON_ERROR_VALUE) - if(NOT _PYTHON_SUCCESS MATCHES 0) + if(NOT _PYTHON_SUCCESS EQUAL 0) set(PYTHONLIBS_FOUND FALSE) return() endif()