Merge pull request #2390 from nicolasmartin3d:master_bug3546

pull/2604/merge
Vadim Pisarevsky 11 years ago committed by OpenCV Buildbot
commit 604a64b206
  1. 2
      cmake/OpenCVFindLibsGUI.cmake
  2. 2
      cmake/OpenCVFindLibsVideo.cmake

@ -69,7 +69,7 @@ endif(WITH_OPENGL)
if(APPLE) if(APPLE)
if(WITH_CARBON) if(WITH_CARBON)
set(HAVE_CARBON YES) set(HAVE_CARBON YES)
elseif(NOT IOS) elseif(NOT IOS AND CMAKE_COMPILER_IS_CLANGCXX)
set(HAVE_COCOA YES) set(HAVE_COCOA YES)
endif() endif()
endif() endif()

@ -273,7 +273,7 @@ endif()
if (NOT IOS) if (NOT IOS)
if(WITH_QUICKTIME) if(WITH_QUICKTIME)
set(HAVE_QUICKTIME YES) set(HAVE_QUICKTIME YES)
elseif(APPLE) elseif(APPLE AND CMAKE_COMPILER_IS_CLANGCXX)
set(HAVE_QTKIT YES) set(HAVE_QTKIT YES)
endif() endif()
endif() endif()

Loading…
Cancel
Save