Merge pull request #1335 from alekcac:ios-build-fix
This commit is contained in:
commit
7cefb6f50b
@ -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)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
# --- QuickTime ---
|
# --- QuickTime ---
|
||||||
|
if (NOT IOS)
|
||||||
if(WITH_QUICKTIME)
|
if(WITH_QUICKTIME)
|
||||||
set(HAVE_QUICKTIME YES)
|
set(HAVE_QUICKTIME YES)
|
||||||
elseif(APPLE)
|
elseif(APPLE)
|
||||||
set(HAVE_QTKIT YES)
|
set(HAVE_QTKIT YES)
|
||||||
endif()
|
endif()
|
||||||
|
endif()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user