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

deal.II/cmake/macros/macro_strip_flag.cmake

index 26884197e28cf565c157e06fc53fe2ee81a9c60d..cf5e55c89f0a764e7cd342c2c0729fd00dfbf0d3 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.