Fix build in some environments

Adding find_package(PythonLibs 2) to make sure that it doesn't use
version 3 of PythonLibs.
This commit is contained in:
Ruben Undheim
2015-01-25 22:28:27 +01:00
parent 7805bae220
commit f970b1a69a
+1 -1
View File
@@ -19,7 +19,7 @@
# Include swig generation macros # Include swig generation macros
######################################################################## ########################################################################
find_package(SWIG) find_package(SWIG)
find_package(PythonLibs) find_package(PythonLibs 2)
if(NOT SWIG_FOUND OR NOT PYTHONLIBS_FOUND) if(NOT SWIG_FOUND OR NOT PYTHONLIBS_FOUND)
return() return()
endif() endif()