|
@@ -1,12 +1,14 @@
|
|
project(mac-avcapture)
|
|
project(mac-avcapture)
|
|
|
|
|
|
find_library(AVFOUNDATION AVFoundation)
|
|
find_library(AVFOUNDATION AVFoundation)
|
|
|
|
+find_library(COCOA Cocoa)
|
|
find_library(COREFOUNDATION CoreFoundation)
|
|
find_library(COREFOUNDATION CoreFoundation)
|
|
find_library(COREMEDIA CoreMedia)
|
|
find_library(COREMEDIA CoreMedia)
|
|
find_library(COREVIDEO CoreVideo)
|
|
find_library(COREVIDEO CoreVideo)
|
|
|
|
|
|
|
|
|
|
include_directories(${AVFOUNDATION}
|
|
include_directories(${AVFOUNDATION}
|
|
|
|
+ ${COCOA}
|
|
${COREFOUNDATION}
|
|
${COREFOUNDATION}
|
|
${COREMEDIA}
|
|
${COREMEDIA}
|
|
${COREVIDEO})
|
|
${COREVIDEO})
|
|
@@ -28,6 +30,7 @@ add_library(mac-avcapture MODULE
|
|
target_link_libraries(mac-avcapture
|
|
target_link_libraries(mac-avcapture
|
|
libobs
|
|
libobs
|
|
${AVFOUNDATION}
|
|
${AVFOUNDATION}
|
|
|
|
+ ${COCOA}
|
|
${COREFOUNDATION}
|
|
${COREFOUNDATION}
|
|
${COREMEDIA}
|
|
${COREMEDIA}
|
|
${COREVIDEO})
|
|
${COREVIDEO})
|