]> https://gitweb.dealii.org/ - dealii.git/commitdiff
fix boost zlib detection configure check 5353/head
authorTimo Heister <timo.heister@gmail.com>
Sun, 29 Oct 2017 02:49:06 +0000 (22:49 -0400)
committerTimo Heister <timo.heister@gmail.com>
Sun, 29 Oct 2017 02:49:06 +0000 (22:49 -0400)
We were missing the include dirs in #5318

closes #5351

cmake/configure/configure_boost.cmake

index fb82ee006ef426364f8e24e9285403526a6c7155..ae851671cd09928e7a5bfff48a60b9ade23e6ed3 100644 (file)
@@ -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 <string>

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.