From fc5d0f19c2b4ace562fc7265eb6f8dc3af29083a Mon Sep 17 00:00:00 2001 From: maier Date: Thu, 7 Mar 2013 16:41:24 +0000 Subject: [PATCH] Bugfix git-svn-id: https://svn.dealii.org/branches/branch_cmake@28795 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/cmake/macros/macro_strip_flag.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deal.II/cmake/macros/macro_strip_flag.cmake b/deal.II/cmake/macros/macro_strip_flag.cmake index 133f033144..70636c139b 100644 --- a/deal.II/cmake/macros/macro_strip_flag.cmake +++ b/deal.II/cmake/macros/macro_strip_flag.cmake @@ -20,8 +20,8 @@ # MACRO(STRIP_FLAG _variable _flag) - SET(${_variable} "${${_variable}} ") - STRING(REPLACE "${_flag} " "" "${_variable}" ${${_variable}}) + SET(${_variable} " ${${_variable}} ") + STRING(REPLACE " ${_flag} " " " "${_variable}" ${${_variable}}) STRING(STRIP "${${_variable}}" ${_variable}) ENDMACRO() -- 2.39.5