From f970b1a69a4c9a1264dbd87421f8719cd9bbbc70 Mon Sep 17 00:00:00 2001 From: Ruben Undheim Date: Sun, 25 Jan 2015 22:28:27 +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 01a9487..683be3e 100644 --- a/swig/CMakeLists.txt +++ b/swig/CMakeLists.txt @@ -19,7 +19,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()