CMake: Update minimum Python version to 3.10
This commit is contained in:
@@ -3,8 +3,8 @@ macro(SetupPython)
|
||||
|
||||
find_package(Python3 COMPONENTS Interpreter Development REQUIRED)
|
||||
|
||||
if (${Python3_VERSION} VERSION_LESS "3.8")
|
||||
message(FATAL_ERROR "To build FreeCAD you need at least Python 3.8\n")
|
||||
if (${Python3_VERSION} VERSION_LESS "3.10")
|
||||
message(FATAL_ERROR "To build FreeCAD you need at least Python 3.10\n")
|
||||
endif()
|
||||
|
||||
endmacro(SetupPython)
|
||||
|
||||
Reference in New Issue
Block a user