Small optimization for buildMaps kernels in case rowsPerWI > 1
[profile/ivi/opencv.git] / cmake / OpenCVFindLibsGUI.cmake
index 14bfe4c..1c13619 100644 (file)
@@ -84,7 +84,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()