Merge pull request #1335 from alekcac:ios-build-fix

This commit is contained in:
Roman Donchenko
2013-08-23 16:54:48 +04:00
committed by OpenCV Buildbot
2 changed files with 7 additions and 5 deletions
+1 -1
View File
@@ -114,7 +114,7 @@ if(WITH_JASPER)
endif()
# --- libpng (optional, should be searched after zlib) ---
if(WITH_PNG AND NOT IOS)
if(WITH_PNG)
if(BUILD_PNG)
ocv_clear_vars(PNG_FOUND)
else()
+6 -4
View File
@@ -241,8 +241,10 @@ if(WITH_AVFOUNDATION)
endif()
# --- QuickTime ---
if(WITH_QUICKTIME)
set(HAVE_QUICKTIME YES)
elseif(APPLE)
set(HAVE_QTKIT YES)
if (NOT IOS)
if(WITH_QUICKTIME)
set(HAVE_QUICKTIME YES)
elseif(APPLE)
set(HAVE_QTKIT YES)
endif()
endif()