Commit 08545b8f authored by Andrey Kamaev's avatar Andrey Kamaev Committed by OpenCV Buildbot

Merge pull request #603 from taka-no-me:avoid_deps_on_missing_lib

parents f22ee8fc 10941791
...@@ -202,7 +202,7 @@ foreach(__opttype OPT DBG) ...@@ -202,7 +202,7 @@ foreach(__opttype OPT DBG)
#indicate that this module is also found #indicate that this module is also found
string(TOUPPER "${__cvdep}" __cvdep) string(TOUPPER "${__cvdep}" __cvdep)
set(${__cvdep}_FOUND 1) set(${__cvdep}_FOUND 1)
else() elseif(EXISTS "${OpenCV_3RDPARTY_LIB_DIR_${__opttype}}/${OpenCV_${__cvdep}_LIBNAME_${__opttype}}")
list(APPEND OpenCV_LIBS_${__opttype} "${OpenCV_3RDPARTY_LIB_DIR_${__opttype}}/${OpenCV_${__cvdep}_LIBNAME_${__opttype}}") list(APPEND OpenCV_LIBS_${__opttype} "${OpenCV_3RDPARTY_LIB_DIR_${__opttype}}/${OpenCV_${__cvdep}_LIBNAME_${__opttype}}")
endif() endif()
endforeach() endforeach()
......
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