]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
What a bugfix
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 21 Sep 2012 20:56:24 +0000 (20:56 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 21 Sep 2012 20:56:24 +0000 (20:56 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_cmake@26615 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/cmake/macros/macro_set_if_empty.cmake

index 5f89dbca99b87609aac167e3bc944c7ce5b9455b..bb24d653571fcac2ea28fcc388c3e6ed490f6ad0 100644 (file)
@@ -1,6 +1,7 @@
 
 MACRO(SET_IF_EMPTY variable value)
-  IF(NOT ${${variable}} STREQUAL "")
+  IF("${${variable}}" STREQUAL "")
     SET(${variable} ${value})
+  ENDIF()
 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.