diff --git a/python/CMakeLists.txt b/python/CMakeLists.txt index c046571..7c042f2 100644 --- a/python/CMakeLists.txt +++ b/python/CMakeLists.txt @@ -7,8 +7,8 @@ else() message(FATAL_ERROR "Swig not found!\n") endif() -find_package(PythonInterp 2.7 REQUIRED) -find_package(PythonLibs 2.7 REQUIRED) +find_package(PythonInterp REQUIRED) +find_package(PythonLibs REQUIRED) if (PYTHONLIBS_FOUND) message(STATUS "Python header found at ${PYTHON_INCLUDE_DIRS}") message(STATUS "Python library found at ${PYTHON_LIBRARIES}")