From: Matthias Maier Date: Tue, 27 Jan 2015 11:47:27 +0000 (+0100) Subject: CMake: Fix FIND_SYSTEM_LIBRARY macro X-Git-Tag: v8.3.0-rc1~515^2~2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9c97fa1a72f3063201a7f365379ea702b29a43e0;p=dealii.git CMake: Fix FIND_SYSTEM_LIBRARY macro --- diff --git a/cmake/macros/macro_find_system_library.cmake b/cmake/macros/macro_find_system_library.cmake index 9f0562aa34..a2e9f44bf1 100644 --- a/cmake/macros/macro_find_system_library.cmake +++ b/cmake/macros/macro_find_system_library.cmake @@ -42,7 +42,7 @@ MACRO(FIND_SYSTEM_LIBRARY) ENDIF() ENDFOREACH() - IF(NOT _variable) + IF(NOT ${_variable}) SET(${_variable} "${_variable}-NOTFOUND") ENDIF() ENDIF()