]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Bugfix
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 10 Oct 2012 16:31:54 +0000 (16:31 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 10 Oct 2012 16:31:54 +0000 (16:31 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_cmake@27056 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/cmake/macros/macro_deal_ii_setup_target.cmake

index ad39e5bc3d9be13050154d5b7ee71e6a612ba023..c47214dfacf47bea93eee47d835569b798e8da80 100644 (file)
@@ -42,9 +42,10 @@ MACRO(DEAL_II_SETUP_TARGET target)
   # Necessary for setting INCLUDE_DIRECTORIES via SET_TARGET_PROPERTIES
   CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8)
 
+  GET_DIRECTORY_PROPERTY(inc_dirs_so_far INCLUDE_DIRECTORIES)
   SET_TARGET_PROPERTIES(${target} PROPERTIES
     INCLUDE_DIRECTORIES
-      "${DEAL_II_EXTERNAL_INCLUDE_DIRS};${DEAL_II_INCLUDE_DIRS}"
+      "${inc_dirs_so_far};${DEAL_II_EXTERNAL_INCLUDE_DIRS};${DEAL_II_INCLUDE_DIRS}"
     LINK_FLAGS
       "${DEAL_II_LINKER_FLAGS}"
     COMPILE_DEFINITIONS

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.