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()