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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
623 B
CMake
Raw 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})
install_obs_plugin_with_data(mac-vth264 data)