Skip to content

Commit b17b4ed

Browse files
authored
Disable matchcompiler on old python versions (#8352)
1 parent b52fd48 commit b17b4ed

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cmake/findDependencies.cmake

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ if(NOT Python_Interpreter_FOUND)
4949
endif()
5050
else()
5151
if(${Python_VERSION} VERSION_LESS 3.7)
52-
message(FATAL_ERROR "The minimum supported Python version is 3.7 - found ${Python_VERSION}")
52+
message(WARNING "The minimum supported Python version is 3.7, found ${Python_VERSION} - disabling matchcompiler.")
53+
set(USE_MATCHCOMPILER_OPT "Off")
5354
endif()
5455
endif()
5556

0 commit comments

Comments
 (0)