diff --git CMakeLists.txt CMakeLists.txt
index 3ee50ff..357a700 100644
|
|
endif() |
162 | 162 | # Optional 3rd party components |
163 | 163 | # =================================================== |
164 | 164 | OCV_OPTION(WITH_1394 "Include IEEE1394 support" ON IF (NOT ANDROID AND NOT IOS AND NOT WINRT) ) |
165 | | OCV_OPTION(WITH_AVFOUNDATION "Use AVFoundation for Video I/O" ON IF IOS) |
| 165 | OCV_OPTION(WITH_AVFOUNDATION "Use AVFoundation for Video I/O" ON IF (APPLE OR IOS)) |
166 | 166 | OCV_OPTION(WITH_CARBON "Use Carbon for UI instead of Cocoa" OFF IF APPLE ) |
167 | 167 | OCV_OPTION(WITH_VTK "Include VTK library support (and build opencv_viz module eiher)" ON IF (NOT ANDROID AND NOT IOS AND NOT WINRT AND NOT CMAKE_CROSSCOMPILING) ) |
168 | 168 | OCV_OPTION(WITH_CUDA "Include NVidia Cuda Runtime support" ON IF (NOT IOS AND NOT WINRT) ) |
diff --git cmake/OpenCVFindLibsVideo.cmake cmake/OpenCVFindLibsVideo.cmake
index 2e09cf2..978d9de 100644
|
|
if (NOT IOS) |
316 | 316 | if(WITH_QUICKTIME) |
317 | 317 | set(HAVE_QUICKTIME YES) |
318 | 318 | elseif(APPLE AND CMAKE_COMPILER_IS_CLANGCXX) |
319 | | set(HAVE_QTKIT YES) |
| 319 | set(HAVE_QTKIT NO) |
320 | 320 | endif() |
321 | 321 | endif() |
322 | 322 | |
diff --git modules/videoio/CMakeLists.txt modules/videoio/CMakeLists.txt
index b5da8d0..e4ca82b 100644
|
|
endif(HAVE_GIGE_API) |
167 | 167 | |
168 | 168 | if(HAVE_AVFOUNDATION) |
169 | 169 | list(APPEND videoio_srcs ${CMAKE_CURRENT_LIST_DIR}/src/cap_avfoundation.mm) |
170 | | list(APPEND VIDEOIO_LIBRARIES "-framework AVFoundation" "-framework QuartzCore") |
| 170 | list(APPEND VIDEOIO_LIBRARIES "-framework AVFoundation" "-framework QuartzCore" "-framework CoreMedia" "-framework CoreFoundation" "-framework AppKit") |
171 | 171 | endif() |
172 | 172 | |
173 | 173 | if(HAVE_QUICKTIME) |