]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix python bindings configuration for new boost
authoragrayver <agrayver@erdw.ethz.ch>
Mon, 28 Oct 2019 09:26:03 +0000 (10:26 +0100)
committeragrayver <agrayver@erdw.ethz.ch>
Mon, 28 Oct 2019 09:26:03 +0000 (10:26 +0100)
contrib/python-bindings/source/CMakeLists.txt

index a8351c8b1709466142ebd244c3c91a3fe0d3209d..dceed12782792f15108ca3456bbe6046641aa5b3 100644 (file)
@@ -35,7 +35,7 @@ ENDIF()
 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.54 COMPONENTS python)
+_FIND_PACKAGE(Boost 1.59 COMPONENTS python${PYTHON_VERSION_MAJOR}${PYTHON_VERSION_MINOR} REQUIRED)
 LIST(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules/)
 
 IF(NOT Boost_FOUND)

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.