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

pull/2/head
Andrey Kamaev 13 years ago
parent f363c835ab
commit 694f0e954f
  1. 2
      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()

Loading…
Cancel
Save