Imported Upstream version 0.13.2+dsfg1
This commit is contained in:
commit
fb3990e9e5
2036 changed files with 287360 additions and 0 deletions
26
plugins/obs-ffmpeg/ffmpeg-mux/CMakeLists.txt
Normal file
26
plugins/obs-ffmpeg/ffmpeg-mux/CMakeLists.txt
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
project(ffmpeg-mux)
|
||||
|
||||
find_package(FFmpeg REQUIRED
|
||||
COMPONENTS avcodec avutil avformat)
|
||||
include_directories(${FFMPEG_INCLUDE_DIRS})
|
||||
|
||||
set(ffmpeg-mux_SOURCES
|
||||
ffmpeg-mux.c)
|
||||
|
||||
set(ffmpeg-mux_HEADERS
|
||||
ffmpeg-mux.h)
|
||||
|
||||
add_executable(ffmpeg-mux
|
||||
${ffmpeg-mux_SOURCES}
|
||||
${ffmpeg-mux_HEADERS})
|
||||
|
||||
target_link_libraries(ffmpeg-mux
|
||||
${FFMPEG_LIBRARIES})
|
||||
|
||||
if(WIN32)
|
||||
set_target_properties(ffmpeg-mux
|
||||
PROPERTIES
|
||||
OUTPUT_NAME "ffmpeg-mux${_output_suffix}")
|
||||
endif()
|
||||
|
||||
install_obs_datatarget(ffmpeg-mux "obs-plugins/obs-ffmpeg")
|
||||
Loading…
Add table
Add a link
Reference in a new issue