From: maier Date: Thu, 7 Mar 2013 16:41:24 +0000 (+0000) Subject: Bugfix X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc5d0f19c2b4ace562fc7265eb6f8dc3af29083a;p=dealii-svn.git Bugfix git-svn-id: https://svn.dealii.org/branches/branch_cmake@28795 0785d39b-7218-0410-832d-ea1e28bc413d --- 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()