New upstream version 0.15.4+dfsg1
This commit is contained in:
parent
55d5047af0
commit
67704ac59c
359 changed files with 8423 additions and 1050 deletions
41
plugins/vlc-video/CMakeLists.txt
Normal file
41
plugins/vlc-video/CMakeLists.txt
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
project(vlc-video)
|
||||
|
||||
if(DISABLE_VLC)
|
||||
message(STATUS "VLC video plugin disabled")
|
||||
return()
|
||||
endif()
|
||||
|
||||
find_package(LibVLC QUIET)
|
||||
|
||||
if(NOT LIBVLC_INCLUDES_FOUND AND ENABLE_VLC)
|
||||
message(FATAL_ERROR "LibVLC includes not found but set as enabled")
|
||||
elseif(NOT LIBVLC_INCLUDES_FOUND)
|
||||
message(STATUS "LibVLC includes not found, VLC video plugin disabled")
|
||||
return()
|
||||
endif()
|
||||
|
||||
include_directories(${LIBVLC_INCLUDE_DIRS})
|
||||
add_definitions(${LIBVLC_DEFINITIONS})
|
||||
|
||||
if(MSVC)
|
||||
set(vlc-video_PLATFORM_DEPS
|
||||
w32-pthreads)
|
||||
endif()
|
||||
|
||||
set(vlc-video_HEADERS
|
||||
vlc-video-plugin.h
|
||||
)
|
||||
|
||||
set(vlc-video_SOURCES
|
||||
vlc-video-plugin.c
|
||||
vlc-video-source.c
|
||||
)
|
||||
|
||||
add_library(vlc-video MODULE
|
||||
${vlc-video_SOURCES}
|
||||
${vlc-video_HEADERS})
|
||||
target_link_libraries(vlc-video
|
||||
libobs
|
||||
${vlc-video_PLATFORM_DEPS})
|
||||
|
||||
install_obs_plugin_with_data(vlc-video data)
|
||||
Loading…
Add table
Add a link
Reference in a new issue