Added linking against AppKit framework when OpenCV is configured with WITH_QUICKTIME=OFF

This commit is contained in:
Andrey Kamaev 2012-06-13 10:43:03 +00:00
parent f363c835ab
commit 694f0e954f

View File

@ -188,7 +188,7 @@ elseif(APPLE)
list(APPEND HIGHGUI_LIBRARIES "-framework Carbon" "-framework QuickTime" "-framework CoreFoundation" "-framework QuartzCore") list(APPEND HIGHGUI_LIBRARIES "-framework Carbon" "-framework QuickTime" "-framework CoreFoundation" "-framework QuartzCore")
else() else()
list(APPEND highgui_srcs src/cap_qtkit.mm) 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()
endif() endif()