Skip to content

Commit

Permalink
Update minimum python version
Browse files Browse the repository at this point in the history
  • Loading branch information
berniev authored and chennes committed Jan 25, 2023
1 parent b853278 commit 8c36e83
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions cMake/FreeCAD_Helpers/SetupPython.cmake
Expand Up @@ -154,9 +154,8 @@ macro(SetupPython)
set(PYTHONINTERP_FOUND ${Python3_Interpreter_FOUND})
endif()

# prevent python3 lower than 3.6
if (${PYTHON_VERSION_STRING} VERSION_LESS "3.6")
message(FATAL_ERROR "To build FreeCAD you need at least Python 3.6\n")
if (${PYTHON_VERSION_STRING} VERSION_LESS "3.8")
message(FATAL_ERROR "To build FreeCAD you need at least Python 3.8\n")
endif()

endmacro(SetupPython)

0 comments on commit 8c36e83

Please sign in to comment.