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

pull/1336/merge
Roman Donchenko 12 years ago committed by OpenCV Buildbot
commit 7cefb6f50b
  1. 2
      cmake/OpenCVFindLibsGrfmt.cmake
  2. 10
      cmake/OpenCVFindLibsVideo.cmake

@ -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()

@ -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()

Loading…
Cancel
Save