From e1053a40dfa8f89d04d83f8106cb791b4c9c396b Mon Sep 17 00:00:00 2001 From: Ruben Undheim Date: Mon, 26 Jan 2015 19:38:06 +0100 Subject: [PATCH] Fix build in some environments Adding find_package(PythonLibs 2) to make sure that it doesn't use version 3 of PythonLibs. --- swig/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swig/CMakeLists.txt b/swig/CMakeLists.txt index 1ef9b52..4fa2be2 100644 --- a/swig/CMakeLists.txt +++ b/swig/CMakeLists.txt @@ -21,7 +21,7 @@ # Include swig generation macros ######################################################################## find_package(SWIG) -find_package(PythonLibs) +find_package(PythonLibs 2) if(NOT SWIG_FOUND OR NOT PYTHONLIBS_FOUND) return() endif()