Files
create/cMake/FreeCAD_Helpers/SetupPython.cmake
2025-02-21 09:45:13 -06:00

11 lines
330 B
CMake

macro(SetupPython)
# -------------------------------- Python --------------------------------
find_package(Python3 COMPONENTS Interpreter Development REQUIRED)
if (${Python3_VERSION} VERSION_LESS "3.10")
message(FATAL_ERROR "To build FreeCAD you need at least Python 3.10\n")
endif()
endmacro(SetupPython)