diff --git a/CMakeLists.txt b/CMakeLists.txt index 1597417c1e535d29f30fb828ba5bc0550b1cb5d9..6c086677e2e118361a261f0aca50931630f68e27 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -188,14 +188,9 @@ endif() # Python needed before Boost find_package(Python 3.6 REQUIRED COMPONENTS Interpreter Development) -# Split version string -string(REPLACE "." ";" _python_version_list ${Python_VERSION}) -list(GET _python_version_list 0 Python_VERSION_MAJOR) -list(GET _python_version_list 1 Python_VERSION_MINOR) # where Python modules live set(PYTHON_MODULE_PATH "python${Python_VERSION_MAJOR}.${Python_VERSION_MINOR}/site-packages/") - if(BOOST_VERSION) message(STATUS "forcing boost to version ${BOOST_VERSION}") set(_BOOST_MIN_VERSION ${BOOST_VERSION})