Skip to content
This repository has been archived by the owner on Mar 22, 2020. It is now read-only.

v3.0.0-p7

Compare
Choose a tag to compare
@headupinclouds headupinclouds released this 28 Oct 16:11
· 8 commits to hunter-3.0.0 since this release

Provide WITH_QTKIT option so user can disable QTKit.

See: opencv/cmake/OpenCVFindLibsVideo.cmake

OLD:

if (NOT IOS)
  if(WITH_QUICKTIME)
    set(HAVE_QUICKTIME YES)
  elseif(APPLE AND CMAKE_COMPILER_IS_CLANGCXX)
    set(HAVE_QTKIT YES)
  endif()
endif()

NEW:

# --- QuickTime ---
OCV_OPTION(WITH_QTKIT "Use QTKit framework (if WITH_QUICKTIME == NO)" YES)

if (NOT IOS)
  if(WITH_QUICKTIME)
    set(HAVE_QUICKTIME YES)
  elseif(APPLE AND CMAKE_COMPILER_IS_CLANGCXX)
    if(WITH_QTKIT)
      set(HAVE_QTKIT YES) # always YES
    else()
      set(HAVE_QTKIT NO) # force NO
    endif()
  endif()
endif()