Skip to content

Commit

Permalink
Fixed python3 mistake in main cmake file
Browse files Browse the repository at this point in the history
  • Loading branch information
yorikvanhavre committed Mar 4, 2017
1 parent cafd49d commit 2f93571
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Expand Up @@ -533,11 +533,11 @@ endif(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
"=================================\n")
ELSE(NOT PYTHONLIBS_FOUND)
# prevent python3 lower than 3.3 (not enough utf8<->unicode tools)
IF(PYTHON_VERSION_MAJOR GREATER 3)
IF(PYTHON_VERSION_MAJOR EQUAL 3)
IF(PYTHON_VERSION_MINOR LESS 5)
MESSAGE(FATAL_ERROR "To build FreeCAD with Python3, you need at least version 3.5\n")
ENDIF(PYTHON_VERSION_MINOR LESS 5)
ENDIF(PYTHON_VERSION_MAJOR GREATER 3)
ENDIF(PYTHON_VERSION_MAJOR EQUAL 3)
ENDIF(NOT PYTHONLIBS_FOUND)

# -------------------------------- pcl ----------------------------------
Expand Down

0 comments on commit 2f93571

Please sign in to comment.