]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Bugfix: Enable to overwrite *_RELDIR for DEAL_II_COMPONENT_COMPAT_FILES as well
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 23 Sep 2012 19:10:32 +0000 (19:10 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 23 Sep 2012 19:10:32 +0000 (19:10 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_cmake@26648 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/cmake/setup_deal_ii.cmake

index 1fbcb1747e318a274033477f5a49e108abc7e358..43b9c0fa9e0c26ce7bc7fa067e39547ffa181190 100644 (file)
@@ -23,11 +23,11 @@ IF(DEAL_II_COMPONENT_COMPAT_FILES)
   #
   # The good, old directory structure:
   #
-  SET(DEAL_II_DOCUMENTATION_RELDIR "doc")
-  SET(DEAL_II_EXAMPLES_RELDIR "examples")
-  SET(DEAL_II_INCLUDE_RELDIR "include")
-  SET(DEAL_II_LIBRARY_RELDIR "lib")
-  SET(DEAL_II_PROJECT_CONFIG_RELDIR ".")
+  SET_IF_EMPTY(DEAL_II_DOCUMENTATION_RELDIR "doc")
+  SET_IF_EMPTY(DEAL_II_EXAMPLES_RELDIR "examples")
+  SET_IF_EMPTY(DEAL_II_INCLUDE_RELDIR "include")
+  SET_IF_EMPTY(DEAL_II_LIBRARY_RELDIR "lib")
+  SET_IF_EMPTY(DEAL_II_PROJECT_CONFIG_RELDIR ".")
 
 ELSE()
   #

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.