mirror of
https://github.com/opencv/opencv.git
synced 2026-07-21 19:33:03 +04:00
Do not build apple objective-c codes if using gcc
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user