summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Olivain <julien.olivain@lsv.ens-cachan.fr>2013-08-25 08:43:22 -0700
committerJohnathan Corgan <johnathan@corganlabs.com>2013-08-25 08:43:22 -0700
commit92b56aa801181869edf49050e2401bfdfbc7f05c (patch)
tree12e8660cdea9fe1eefe9909d6abbece76c1896b9
parent3047fb25af5f6ea4be26bcfb2242542c26b5ee21 (diff)
cmake: force detection to Python 2.x only
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6dc6c88b42..7e1e68a05c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -165,7 +165,7 @@ add_custom_target(uninstall
########################################################################
# Enable python component
########################################################################
-find_package(PythonLibs)
+find_package(PythonLibs 2)
find_package(SWIG)
if(SWIG_FOUND)