2019-03-09 16:46:40 -08:00
|
|
|
project(obs-ffmpeg-mux)
|
2015-05-28 23:10:45 -07:00
|
|
|
|
2015-07-18 16:15:01 -07:00
|
|
|
find_package(FFmpeg REQUIRED
|
2015-05-28 23:10:45 -07:00
|
|
|
COMPONENTS avcodec avutil avformat)
|
|
|
|
include_directories(${FFMPEG_INCLUDE_DIRS})
|
|
|
|
|
2019-03-09 16:46:40 -08:00
|
|
|
set(obs-ffmpeg-mux_SOURCES
|
2015-05-28 23:10:45 -07:00
|
|
|
ffmpeg-mux.c)
|
|
|
|
|
2019-03-09 16:46:40 -08:00
|
|
|
set(obs-ffmpeg-mux_HEADERS
|
2015-05-28 23:10:45 -07:00
|
|
|
ffmpeg-mux.h)
|
|
|
|
|
2019-03-09 16:46:40 -08:00
|
|
|
add_executable(obs-ffmpeg-mux
|
|
|
|
${obs-ffmpeg-mux_SOURCES}
|
|
|
|
${obs-ffmpeg-mux_HEADERS})
|
2015-05-28 23:10:45 -07:00
|
|
|
|
2019-03-09 16:46:40 -08:00
|
|
|
target_link_libraries(obs-ffmpeg-mux
|
2015-05-28 23:10:45 -07:00
|
|
|
${FFMPEG_LIBRARIES})
|
|
|
|
|
2019-03-09 16:46:40 -08:00
|
|
|
install_obs_core(obs-ffmpeg-mux)
|