]> https://gitweb.dealii.org/ - dealii.git/commitdiff
CMake: Fix FIND_SYSTEM_LIBRARY macro
authorMatthias Maier <matthias.maier@iwr.uni-heidelberg.de>
Tue, 27 Jan 2015 11:47:27 +0000 (12:47 +0100)
committerMatthias Maier <matthias.maier@iwr.uni-heidelberg.de>
Tue, 27 Jan 2015 11:47:43 +0000 (12:47 +0100)
cmake/macros/macro_find_system_library.cmake

index 9f0562aa34f045e8b9acb1ba5ed0c60a11b9b4dc..a2e9f44bf1a53ca4d61221d217dfc6657c168d9b 100644 (file)
@@ -42,7 +42,7 @@ MACRO(FIND_SYSTEM_LIBRARY)
       ENDIF()
     ENDFOREACH()
 
-    IF(NOT _variable)
+    IF(NOT ${_variable})
       SET(${_variable} "${_variable}-NOTFOUND")
     ENDIF()
   ENDIF()

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.