2015-07-16 18:55:50 -07:00
|
|
|
project(mac-vth264)
|
|
|
|
|
|
|
|
find_library(AVFOUNDATION AVFoundation)
|
|
|
|
find_library(COCOA Cocoa)
|
|
|
|
find_library(COREFOUNDATION CoreFoundation)
|
|
|
|
find_library(COREVIDEO CoreVideo)
|
|
|
|
find_library(VIDEOTOOLBOX VideoToolbox)
|
|
|
|
find_library(COREMEDIA CoreMedia)
|
|
|
|
|
|
|
|
include_directories(${AVFOUNDATION}
|
|
|
|
${COCOA}
|
|
|
|
${COREFOUNDATION}
|
|
|
|
${COREVIDEO}
|
|
|
|
${VIDEOTOOLBOX}
|
|
|
|
${COREMEDIA})
|
|
|
|
|
|
|
|
set(mac-vth264_SOURCES
|
|
|
|
encoder.c)
|
|
|
|
|
|
|
|
add_library(mac-vth264 MODULE
|
|
|
|
${mac-vth264_SOURCES})
|
|
|
|
|
|
|
|
target_link_libraries(mac-vth264
|
|
|
|
libobs
|
|
|
|
${AVFOUNDATION}
|
|
|
|
${COCOA}
|
|
|
|
${COREFOUNDATION}
|
|
|
|
${COREVIDEO}
|
|
|
|
${VIDEOTOOLBOX}
|
|
|
|
${COREMEDIA})
|
2020-05-13 06:37:01 -07:00
|
|
|
set_target_properties(mac-vth264 PROPERTIES FOLDER "plugins")
|
2015-07-16 18:55:50 -07:00
|
|
|
|
|
|
|
install_obs_plugin_with_data(mac-vth264 data)
|