]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Revert "What a bummer. Fix it properly..."
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 7 Mar 2013 16:39:34 +0000 (16:39 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 7 Mar 2013 16:39:34 +0000 (16:39 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_cmake@28794 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/cmake/macros/macro_strip_flag.cmake

index 5d7fe82a3bb13d52a4901558a6faaecffe6e01a8..133f03314441f4d4bdae0f80ff364a28da86d4b0 100644 (file)
 #
 
 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()
 

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.