From: maier Date: Fri, 19 Oct 2012 22:30:22 +0000 (+0000) Subject: Bugfix: Store user supplied compiler flags that are given (once) via env X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3721834eb52b212ce7502db7bdcc59481bd2c5e;p=dealii-svn.git Bugfix: Store user supplied compiler flags that are given (once) via env variables. git-svn-id: https://svn.dealii.org/branches/branch_cmake@27148 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/cmake/setup_cached_variables.cmake b/deal.II/cmake/setup_cached_variables.cmake index 5e221eeaa4..9a19355494 100644 --- a/deal.II/cmake/setup_cached_variables.cmake +++ b/deal.II/cmake/setup_cached_variables.cmake @@ -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" )