Commit f0021a5f authored by Matthias Vallentin's avatar Matthias Vallentin

Fix bug in CMake script that finds CAF

parent 2c45ef55
......@@ -76,7 +76,8 @@ foreach (comp ${CAF_FIND_COMPONENTS})
/sw/lib
${CMAKE_INSTALL_PREFIX}/lib)
mark_as_advanced(CAF_LIBRARY_${UPPERCOMP})
if ("${CAF_LIBRARY_${UPPERCOMP}}" STREQUAL "CAF_LIBRARY-NOTFOUND")
if ("${CAF_LIBRARY_${UPPERCOMP}}"
STREQUAL "CAF_LIBRARY_${UPPERCOMP}-NOTFOUND")
set(CAF_${comp}_FOUND false)
else ()
set(CAF_LIBRARIES ${CAF_LIBRARIES} ${CAF_LIBRARY_${UPPERCOMP}})
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment