Merge pull request #2390 from nicolasmartin3d:master_bug3546

This commit is contained in:
Vadim Pisarevsky 2014-04-10 13:33:42 +04:00 committed by OpenCV Buildbot
commit 604a64b206
2 changed files with 2 additions and 2 deletions

View File

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

View File

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