From d3e97110872f7e2b4c9266bb12e7fb5d77f8392e Mon Sep 17 00:00:00 2001 From: Alexander Grayver Date: Wed, 6 Nov 2019 22:10:19 +0100 Subject: [PATCH] Unset Boost_FOUND to get Boost.Python properly configured --- contrib/python-bindings/source/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/contrib/python-bindings/source/CMakeLists.txt b/contrib/python-bindings/source/CMakeLists.txt index 51e7c11bd1..508754b1fb 100644 --- a/contrib/python-bindings/source/CMakeLists.txt +++ b/contrib/python-bindings/source/CMakeLists.txt @@ -32,6 +32,7 @@ ENDIF() # As of 1.67, boost requires specifying the suffix for the python # component manually. # +UNSET(Boost_FOUND) IF(${BOOST_VERSION} VERSION_LESS 1.67) _FIND_PACKAGE(Boost 1.59 COMPONENTS python REQUIRED) ELSE() -- 2.39.5