]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Make python a required package and remove old lines 8968/head
authorAlexander Grayver <agrayver@erdw.ethz.ch>
Fri, 1 Nov 2019 15:44:15 +0000 (16:44 +0100)
committerAlexander Grayver <agrayver@erdw.ethz.ch>
Fri, 1 Nov 2019 15:44:15 +0000 (16:44 +0100)
contrib/python-bindings/source/CMakeLists.txt

index d774d0ac5eb48fcd491531f2fe28fa8405e59c1b..51e7c11bd17218a010bbb14b3b6b9fe1c86456b0 100644 (file)
@@ -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()

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.