yolobs-studio/plugins/mac-vth264/CMakeLists.txt

34 lines
685 B
CMake
Raw Permalink Normal View History

2016-02-23 23:16:51 +00: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-10-01 20:15:25 +00:00
set_target_properties(mac-vth264 PROPERTIES FOLDER "plugins")
2016-02-23 23:16:51 +00:00
install_obs_plugin_with_data(mac-vth264 data)