From 694f0e954ffd18614aae163b15f99456e4b299c4 Mon Sep 17 00:00:00 2001 From: Andrey Kamaev Date: Wed, 13 Jun 2012 10:43:03 +0000 Subject: [PATCH] Added linking against AppKit framework when OpenCV is configured with WITH_QUICKTIME=OFF --- modules/highgui/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/highgui/CMakeLists.txt b/modules/highgui/CMakeLists.txt index 86d32ec..dfa8240 100644 --- a/modules/highgui/CMakeLists.txt +++ b/modules/highgui/CMakeLists.txt @@ -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() -- 2.7.4