From 9c97fa1a72f3063201a7f365379ea702b29a43e0 Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Tue, 27 Jan 2015 12:47:27 +0100 Subject: [PATCH] CMake: Fix FIND_SYSTEM_LIBRARY macro --- cmake/macros/macro_find_system_library.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- 2.39.5