yolobs-studio/plugins/obs-ffmpeg/ffmpeg-mux/CMakeLists.txt

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

21 lines
401 B
CMake
Raw Normal View History

2019-07-27 12:47:10 +00:00
project(obs-ffmpeg-mux)
2016-02-23 23:16:51 +00:00
find_package(FFmpeg REQUIRED
COMPONENTS avcodec avutil avformat)
include_directories(${FFMPEG_INCLUDE_DIRS})
2019-07-27 12:47:10 +00:00
set(obs-ffmpeg-mux_SOURCES
2016-02-23 23:16:51 +00:00
ffmpeg-mux.c)
2019-07-27 12:47:10 +00:00
set(obs-ffmpeg-mux_HEADERS
2016-02-23 23:16:51 +00:00
ffmpeg-mux.h)
2019-07-27 12:47:10 +00:00
add_executable(obs-ffmpeg-mux
${obs-ffmpeg-mux_SOURCES}
${obs-ffmpeg-mux_HEADERS})
2016-02-23 23:16:51 +00:00
2019-07-27 12:47:10 +00:00
target_link_libraries(obs-ffmpeg-mux
2016-02-23 23:16:51 +00:00
${FFMPEG_LIBRARIES})
2019-07-27 12:47:10 +00:00
install_obs_core(obs-ffmpeg-mux)