Fixes LibFindMacros for libfind_process

coverity_scan^2
Roman Proskuryakov 8 years ago
parent 9d51e1966f
commit 3df57b1833

@ -322,7 +322,7 @@ function (libfind_process PREFIX)
set(val ${${i}}) set(val ${${i}})
if ("${val}" STREQUAL "${i}-NOTFOUND") if ("${val}" STREQUAL "${i}-NOTFOUND")
set (val "<not found>") set (val "<not found>")
elseif (val AND NOT EXISTS ${val}) elseif (val AND NOT EXISTS "${val}")
set (val "${val} (does not exist)") set (val "${val} (does not exist)")
else() else()
set(some_files TRUE) set(some_files TRUE)

Loading…
Cancel
Save