aboutsummaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorHugo Osvaldo Barrera <hugo@barrera.io>2014-03-26 13:02:22 -0300
committerJohn Ehresman <jpe@wingware.com>2014-04-15 21:22:32 +0200
commit5b39f7fd9e216dd16e32ee5950d8d3d781cf1d17 (patch)
tree67b3fd0bab2f726b5a947ce9e1ff98e4f081acab /cmake
parentcb0671914f0ea3c88b59200a56648478faf5fc44 (diff)
Fix building with python 3.3 and 3.4.
FindPython3Libs.cmake lists hardcoded versions of python3 to look for, which include up to python 3.2. Added python 3.3 and 3.4 to this list so that building on these versions works. A better solution would be ideal in future, so as to avoid having to add python versions to this list as time passes. However, this fixes the issue for now. Change-Id: I9c113f70164c30dc3a94a5c946facbc38901f68e Reviewed-by: John Ehresman <jpe@wingware.com>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/Modules/FindPython3Libs.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/Modules/FindPython3Libs.cmake b/cmake/Modules/FindPython3Libs.cmake
index 8685e9f1f..20a82ba07 100644
--- a/cmake/Modules/FindPython3Libs.cmake
+++ b/cmake/Modules/FindPython3Libs.cmake
@@ -27,7 +27,7 @@ INCLUDE(CMakeFindFrameworks)
# Search for the python framework on Apple.
# CMAKE_FIND_FRAMEWORKS(Python)
-FOREACH(_CURRENT_VERSION 3.2 3.1 3.0)
+FOREACH(_CURRENT_VERSION 3.4 3.3 3.2 3.1 3.0)
IF(_CURRENT_VERSION GREATER 3.1)
SET(_32FLAGS "m" "u" "mu" "dm" "du" "dmu" "")
ELSE()