]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Bugfix: Let DEAL_II_INSOURCE_SETUP_TARGET add all include directories
authorMatthias Maier <tamiko@43-1.org>
Sat, 18 Feb 2017 02:16:37 +0000 (20:16 -0600)
committerMatthias Maier <tamiko@43-1.org>
Tue, 14 Mar 2017 16:12:49 +0000 (11:12 -0500)
cmake/macros/macro_deal_ii_insource_setup_target.cmake

index 786c45ce67dafddca70fda67e64274677fb36e95..1f7a04a09ff86cc32a9388b0519187b1b608b1d2 100644 (file)
@@ -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)

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.