From 3df57b183374cc941824a31758c5a43ab899faa4 Mon Sep 17 00:00:00 2001 From: Roman Proskuryakov Date: Mon, 15 Aug 2016 21:59:24 +0300 Subject: [PATCH] Fixes LibFindMacros for libfind_process --- cmake/LibFindMacros.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/LibFindMacros.cmake b/cmake/LibFindMacros.cmake index 56b39a1ad9..2be27c5fcb 100644 --- a/cmake/LibFindMacros.cmake +++ b/cmake/LibFindMacros.cmake @@ -322,7 +322,7 @@ function (libfind_process PREFIX) set(val ${${i}}) if ("${val}" STREQUAL "${i}-NOTFOUND") set (val "") - elseif (val AND NOT EXISTS ${val}) + elseif (val AND NOT EXISTS "${val}") set (val "${val} (does not exist)") else() set(some_files TRUE)