From 66f0ad0f0f7031393e1b5dd9e799ce1a82a7cc49 Mon Sep 17 00:00:00 2001 From: Alexander Grayver Date: Fri, 1 Nov 2019 16:44:15 +0100 Subject: [PATCH] Make python a required package and remove old lines --- contrib/python-bindings/source/CMakeLists.txt | 8 -------- 1 file changed, 8 deletions(-) diff --git a/contrib/python-bindings/source/CMakeLists.txt b/contrib/python-bindings/source/CMakeLists.txt index d774d0ac5e..51e7c11bd1 100644 --- a/contrib/python-bindings/source/CMakeLists.txt +++ b/contrib/python-bindings/source/CMakeLists.txt @@ -33,15 +33,7 @@ ENDIF() # component manually. # IF(${BOOST_VERSION} VERSION_LESS 1.67) - # - # Unset Boost_Found and run the low level FindBOOST.cmake module again to - # pick up libboost_python.so - # - LIST(REMOVE_ITEM CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules/) - SET(Boost_FOUND) - # Use the low level _FIND_PACKAGE function instead of our wrapper _FIND_PACKAGE(Boost 1.59 COMPONENTS python REQUIRED) - LIST(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules/) ELSE() _FIND_PACKAGE(Boost 1.67 COMPONENTS python${PYTHON_VERSION_MAJOR}${PYTHON_VERSION_MINOR} REQUIRED) ENDIF() -- 2.39.5