From 2f93571c4606db7f7504e9c8353860c11e555de5 Mon Sep 17 00:00:00 2001 From: Yorik van Havre Date: Sat, 4 Mar 2017 12:59:48 -0300 Subject: [PATCH] Fixed python3 mistake in main cmake file --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index fbbd9d3d8c28..45e4c759af23 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 ----------------------------------