From b3721834eb52b212ce7502db7bdcc59481bd2c5e Mon Sep 17 00:00:00 2001 From: maier Date: Fri, 19 Oct 2012 22:30:22 +0000 Subject: [PATCH] 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 --- deal.II/cmake/setup_cached_variables.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" ) -- 2.39.5