From f0659c8b8c5ce131ca577fd28d9585207abf15bb Mon Sep 17 00:00:00 2001 From: agrayver Date: Mon, 28 Oct 2019 10:26:03 +0100 Subject: [PATCH] Fix python bindings configuration for new boost --- contrib/python-bindings/source/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.5