From 89fdbe2409b0708f87d7e269b72211b2b2bc62e2 Mon Sep 17 00:00:00 2001 From: maier Date: Thu, 7 Mar 2013 16:39:34 +0000 Subject: [PATCH] Revert "What a bummer. Fix it properly..." git-svn-id: https://svn.dealii.org/branches/branch_cmake@28794 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/cmake/macros/macro_strip_flag.cmake | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/deal.II/cmake/macros/macro_strip_flag.cmake b/deal.II/cmake/macros/macro_strip_flag.cmake index 5d7fe82a3b..133f033144 100644 --- a/deal.II/cmake/macros/macro_strip_flag.cmake +++ b/deal.II/cmake/macros/macro_strip_flag.cmake @@ -20,10 +20,8 @@ # MACRO(STRIP_FLAG _variable _flag) - SET(${_variable} " ${${_variable}} ") - STRING(REPLACE " " " " "${_variable}" ${${_variable}}) - STRING(REPLACE " ${_flag} " "" "${_variable}" ${${_variable}}) - STRING(REPLACE " " " " "${_variable}" ${${_variable}}) + SET(${_variable} "${${_variable}} ") + STRING(REPLACE "${_flag} " "" "${_variable}" ${${_variable}}) STRING(STRIP "${${_variable}}" ${_variable}) ENDMACRO() -- 2.39.5