]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Bugfix: Export DEAL_II_USER_INCLUDE_DIRS in the project config
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 10 Oct 2012 15:48:25 +0000 (15:48 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 10 Oct 2012 15:48:25 +0000 (15:48 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_cmake@27053 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/config/CMakeLists.txt
deal.II/config/Config.cmake.in

index a62e1b8b4e7e77f1650f28350432a4be7660bdcf..518ee9ab0333fb4d572625ede829475f2960c641 100644 (file)
@@ -58,6 +58,10 @@ FOREACH(build ${DEAL_II_BUILD_TYPES})
   ENDIF()
 ENDFOREACH()
 
+SET(CONFIG_INCLUDE_DIRS
+  ${DEAL_II_USER_INCLUDE_DIRS}
+  ${DEAL_II_INCLUDE_DIRS}
+  )
 
 CONFIGURE_FILE(
   ${CMAKE_CURRENT_SOURCE_DIR}/Config.cmake.in
index 3bc7c3f794daaa4df6178f02b140596f97119903..2cca02a0632e153912d2c24bd5737cb00933460f 100644 (file)
@@ -92,7 +92,7 @@ SET(DEAL_II_USER_DEFINITIONS_RELEASE "@DEAL_II_USER_DEFINITIONS_RELEASE@")
 # Information about include directories and libraries
 #
 
-SET(DEAL_II_INCLUDE_DIRS "@DEAL_II_INCLUDE_DIRS@")
+SET(DEAL_II_INCLUDE_DIRS "@CONFIG_INCLUDE_DIRS@")
 
 # Full list of libraries for the debug target:
 SET(DEAL_II_LIBRARIES_DEBUG "@CONFIG_LIBRARIES_DEBUG@")

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.