]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Bugfix
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 7 Mar 2013 16:41:24 +0000 (16:41 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 7 Mar 2013 16:41:24 +0000 (16:41 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_cmake@28795 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/cmake/macros/macro_strip_flag.cmake

index 133f03314441f4d4bdae0f80ff364a28da86d4b0..70636c139b0f57ecea82446671669f1798d846af 100644 (file)
@@ -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()
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.