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:
+1
-1
@@ -21,7 +21,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()
|
||||||
|
|||||||
Reference in New Issue
Block a user