From: Maximilian Bergbauer Date: Wed, 24 Aug 2022 08:30:56 +0000 (+0200) Subject: Fix find_package for boost python X-Git-Tag: v9.5.0-rc1~1016^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F14214%2Fhead;p=dealii.git Fix find_package for boost python --- diff --git a/contrib/python-bindings/CMakeLists.txt b/contrib/python-bindings/CMakeLists.txt index a7397ad2b2..9d745f35c9 100644 --- a/contrib/python-bindings/CMakeLists.txt +++ b/contrib/python-bindings/CMakeLists.txt @@ -48,6 +48,7 @@ IF(DEAL_II_COMPONENT_PYTHON_BINDINGS) # On case-insensitive file systems, FindBOOST.cmake and FindBoost.cmake are indistinguishable. # Make sure FindBoost.cmake from CMake installation is found. LIST(REMOVE_ITEM CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules/) + SET(Boost_USE_DEBUG_RUNTIME FALSE) IF(${BOOST_VERSION} VERSION_LESS 1.67) FIND_PACKAGE(Boost 1.59 COMPONENTS python REQUIRED) ELSE()