From: agrayver Date: Mon, 28 Oct 2019 09:26:03 +0000 (+0100) Subject: Fix python bindings configuration for new boost X-Git-Tag: v9.2.0-rc1~927^2~2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f0659c8b8c5ce131ca577fd28d9585207abf15bb;p=dealii.git Fix python bindings configuration for new boost --- diff --git a/contrib/python-bindings/source/CMakeLists.txt b/contrib/python-bindings/source/CMakeLists.txt index a8351c8b17..dceed12782 100644 --- a/contrib/python-bindings/source/CMakeLists.txt +++ b/contrib/python-bindings/source/CMakeLists.txt @@ -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)