Added linking against AppKit framework when OpenCV is configured with WITH_QUICKTIME=OFF
authorAndrey Kamaev <no@email>
Wed, 13 Jun 2012 10:43:03 +0000 (10:43 +0000)
committerAndrey Kamaev <no@email>
Wed, 13 Jun 2012 10:43:03 +0000 (10:43 +0000)
modules/highgui/CMakeLists.txt

index 86d32ec..dfa8240 100644 (file)
@@ -188,7 +188,7 @@ elseif(APPLE)
     list(APPEND HIGHGUI_LIBRARIES "-framework Carbon" "-framework QuickTime" "-framework CoreFoundation" "-framework QuartzCore")
   else()
     list(APPEND highgui_srcs src/cap_qtkit.mm)
-    list(APPEND HIGHGUI_LIBRARIES "-framework QTKit" "-framework QuartzCore")
+    list(APPEND HIGHGUI_LIBRARIES "-framework QTKit" "-framework QuartzCore" "-framework AppKit")
   endif()
 endif()