Skip to content

Commit 3a59539

Browse files
committed
Disable matchcompiler on old python version
1 parent 502c802 commit 3a59539

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

cmake/findDependencies.cmake

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ if(NOT Python_Interpreter_FOUND)
4747
endif()
4848
else()
4949
if(${Python_VERSION} VERSION_LESS 3.7)
50-
message(FATAL_ERROR "The minimum supported Python version is 3.7 - found ${Python_VERSION}")
50+
message(WARNING "The minimum supported Python version is 3.7, found ${Python_VERSION} - disabling matchcompiler.")
51+
set(USE_MATCHCOMPILER_OPT "Off")
5152
endif()
5253
endif()
5354

0 commit comments

Comments
 (0)