From 3e224b97502f4eef7390badd917cce46c75a0eaa Mon Sep 17 00:00:00 2001 From: BtbN Date: Mon, 5 May 2014 19:52:58 +0200 Subject: [PATCH] Fix mav-avcapture dependencies --- plugins/mac-avcapture/CMakeLists.txt | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/plugins/mac-avcapture/CMakeLists.txt b/plugins/mac-avcapture/CMakeLists.txt index 53a7148a2..107e00427 100644 --- a/plugins/mac-avcapture/CMakeLists.txt +++ b/plugins/mac-avcapture/CMakeLists.txt @@ -5,13 +5,14 @@ find_library(COCOA Cocoa) find_library(COREFOUNDATION CoreFoundation) find_library(COREMEDIA CoreMedia) find_library(COREVIDEO CoreVideo) - +find_library(COCOA Cocoa) include_directories(${AVFOUNDATION} ${COCOA} ${COREFOUNDATION} ${COREMEDIA} - ${COREVIDEO}) + ${COREVIDEO} + ${COCOA}) set(mac-avcapture_HEADERS ) @@ -33,6 +34,8 @@ target_link_libraries(mac-avcapture ${COCOA} ${COREFOUNDATION} ${COREMEDIA} - ${COREVIDEO}) + ${COREVIDEO} + ${COCOA}) install_obs_plugin(mac-avcapture) +