From e8e70d511a3a54b50b31cb35693f3154ae427c12 Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Sat, 28 Oct 2017 22:49:06 -0400 Subject: [PATCH] fix boost zlib detection configure check We were missing the include dirs in #5318 closes #5351 --- cmake/configure/configure_boost.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmake/configure/configure_boost.cmake b/cmake/configure/configure_boost.cmake index fb82ee006e..ae851671cd 100644 --- a/cmake/configure/configure_boost.cmake +++ b/cmake/configure/configure_boost.cmake @@ -97,6 +97,8 @@ MACRO(FEATURE_BOOST_FIND_EXTERNAL var) RESET_CMAKE_REQUIRED() PUSH_CMAKE_REQUIRED("${DEAL_II_CXX_VERSION_FLAG}") SET(CMAKE_REQUIRED_LIBRARIES "${BOOST_LIBRARIES}") + LIST(APPEND CMAKE_REQUIRED_INCLUDES ${BOOST_INCLUDE_DIRS}) + CHECK_CXX_SOURCE_COMPILES( " #include -- 2.39.5