From: Matthias Maier Date: Sat, 18 Feb 2017 02:16:37 +0000 (-0600) Subject: Bugfix: Let DEAL_II_INSOURCE_SETUP_TARGET add all include directories X-Git-Tag: v8.5.0-rc1~41^2~6 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=44c447c928ef35899f7ce4a75f986b3e9a069a17;p=dealii.git Bugfix: Let DEAL_II_INSOURCE_SETUP_TARGET add all include directories --- diff --git a/cmake/macros/macro_deal_ii_insource_setup_target.cmake b/cmake/macros/macro_deal_ii_insource_setup_target.cmake index 786c45ce67..1f7a04a09f 100644 --- a/cmake/macros/macro_deal_ii_insource_setup_target.cmake +++ b/cmake/macros/macro_deal_ii_insource_setup_target.cmake @@ -37,7 +37,8 @@ MACRO(DEAL_II_INSOURCE_SETUP_TARGET _target _build) INCLUDE_DIRECTORIES "${CMAKE_BINARY_DIR}/include" "${CMAKE_SOURCE_DIR}/include" - "${CMAKE_SOURCE_DIR}/include/deal.II/" + ${DEAL_II_BUNDLED_INCLUDE_DIRS} + ${DEAL_II_INCLUDE_DIRS} ) GET_PROPERTY(_type TARGET ${_target} PROPERTY TYPE)