Imported Upstream version 0.13.2+dsfg1
This commit is contained in:
commit
fb3990e9e5
2036 changed files with 287360 additions and 0 deletions
41
plugins/mac-avcapture/CMakeLists.txt
Normal file
41
plugins/mac-avcapture/CMakeLists.txt
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
project(mac-avcapture)
|
||||
|
||||
find_library(AVFOUNDATION AVFoundation)
|
||||
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}
|
||||
${COCOA})
|
||||
|
||||
set(mac-avcapture_HEADERS
|
||||
left-right.hpp
|
||||
scope-guard.hpp
|
||||
)
|
||||
|
||||
set(mac-avcapture_SOURCES
|
||||
av-capture.mm)
|
||||
|
||||
set_source_files_properties(av-capture.mm
|
||||
PROPERTIES COMPILE_FLAGS "-fobjc-arc")
|
||||
|
||||
add_library(mac-avcapture MODULE
|
||||
${mac-avcapture_SOURCES}
|
||||
${mac-avcapture_HEADERS})
|
||||
|
||||
target_link_libraries(mac-avcapture
|
||||
libobs
|
||||
${AVFOUNDATION}
|
||||
${COCOA}
|
||||
${COREFOUNDATION}
|
||||
${COREMEDIA}
|
||||
${COREVIDEO}
|
||||
${COCOA})
|
||||
|
||||
install_obs_plugin_with_data(mac-avcapture data)
|
||||
Loading…
Add table
Add a link
Reference in a new issue