From 02421453d3167f502750c369b6c32e7549060219 Mon Sep 17 00:00:00 2001 From: Maximilian Bergbauer Date: Wed, 24 Aug 2022 10:30:56 +0200 Subject: [PATCH] Fix find_package for boost python --- contrib/python-bindings/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) 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() -- 2.39.5