From: Alexander Grayver Date: Fri, 1 Nov 2019 15:44:15 +0000 (+0100) Subject: Make python a required package and remove old lines X-Git-Tag: v9.2.0-rc1~927^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F8968%2Fhead;p=dealii.git Make python a required package and remove old lines --- 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()