From: maier Date: Wed, 10 Oct 2012 15:48:25 +0000 (+0000) Subject: Bugfix: Export DEAL_II_USER_INCLUDE_DIRS in the project config X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fab354e33e58f539f2d7b83e4e06431c9af170ac;p=dealii-svn.git Bugfix: Export DEAL_II_USER_INCLUDE_DIRS in the project config git-svn-id: https://svn.dealii.org/branches/branch_cmake@27053 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/config/CMakeLists.txt b/deal.II/config/CMakeLists.txt index a62e1b8b4e..518ee9ab03 100644 --- a/deal.II/config/CMakeLists.txt +++ b/deal.II/config/CMakeLists.txt @@ -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 diff --git a/deal.II/config/Config.cmake.in b/deal.II/config/Config.cmake.in index 3bc7c3f794..2cca02a063 100644 --- a/deal.II/config/Config.cmake.in +++ b/deal.II/config/Config.cmake.in @@ -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@")