Commit 7cefb6f5 authored by Roman Donchenko's avatar Roman Donchenko Committed by OpenCV Buildbot

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

parents 3182e68b 88712d97
...@@ -114,7 +114,7 @@ if(WITH_JASPER) ...@@ -114,7 +114,7 @@ if(WITH_JASPER)
endif() endif()
# --- libpng (optional, should be searched after zlib) --- # --- libpng (optional, should be searched after zlib) ---
if(WITH_PNG AND NOT IOS) if(WITH_PNG)
if(BUILD_PNG) if(BUILD_PNG)
ocv_clear_vars(PNG_FOUND) ocv_clear_vars(PNG_FOUND)
else() else()
......
...@@ -241,8 +241,10 @@ if(WITH_AVFOUNDATION) ...@@ -241,8 +241,10 @@ if(WITH_AVFOUNDATION)
endif() endif()
# --- QuickTime --- # --- QuickTime ---
if(WITH_QUICKTIME) if (NOT IOS)
set(HAVE_QUICKTIME YES) if(WITH_QUICKTIME)
elseif(APPLE) set(HAVE_QUICKTIME YES)
set(HAVE_QTKIT YES) elseif(APPLE)
set(HAVE_QTKIT YES)
endif()
endif() endif()
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