]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Bugfix: Store user supplied compiler flags that are given (once) via env
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 19 Oct 2012 22:30:22 +0000 (22:30 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 19 Oct 2012 22:30:22 +0000 (22:30 +0000)
variables.

git-svn-id: https://svn.dealii.org/branches/branch_cmake@27148 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/cmake/setup_cached_variables.cmake

index 5e221eeaa43f943ecbacee2bd6ad861352341f65..9a193554949920335b8d205ec8c06b78c1873978 100644 (file)
@@ -123,7 +123,7 @@ FOREACH(flag ${deal_ii_used_flags})
   # "CACHE" ensures that we only set the variable if it is not already set
   # as a  cached variable. Effectively we're setting a default value:
   #
-  SET(${flag} "" CACHE STRING
+  SET(${flag} "${${flag}}" CACHE STRING
    "The user supplied cache variable will be appended _at the end_ of the auto generated ${flag} variable"
    )
 

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.