]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Epic bugfix #2
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 7 Mar 2013 16:18:16 +0000 (16:18 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 7 Mar 2013 16:18:16 +0000 (16:18 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_cmake@28792 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/cmake/macros/macro_strip_flag.cmake

index cf5e55c89f0a764e7cd342c2c0729fd00dfbf0d3..133f03314441f4d4bdae0f80ff364a28da86d4b0 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.