From 1094179155c2524cfe6c3036e63c5e25d9ab1bd2 Mon Sep 17 00:00:00 2001 From: Andrey Kamaev Date: Fri, 1 Mar 2013 16:50:42 +0400 Subject: [PATCH] Avoid build falure in armeabi build with Android SDK --- cmake/templates/OpenCVConfig.cmake.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/templates/OpenCVConfig.cmake.in b/cmake/templates/OpenCVConfig.cmake.in index e285eab191..7441b59d59 100644 --- a/cmake/templates/OpenCVConfig.cmake.in +++ b/cmake/templates/OpenCVConfig.cmake.in @@ -202,7 +202,7 @@ foreach(__opttype OPT DBG) #indicate that this module is also found string(TOUPPER "${__cvdep}" __cvdep) 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}}") endif() endforeach()