Imported Upstream version 0.13.2+dsfg1
This commit is contained in:
commit
fb3990e9e5
2036 changed files with 287360 additions and 0 deletions
28
plugins/obs-libfdk/CMakeLists.txt
Normal file
28
plugins/obs-libfdk/CMakeLists.txt
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
project(obs-libfdk)
|
||||
|
||||
if(DISABLE_LIBFDK)
|
||||
message(STATUS "Libfdk support disabled")
|
||||
return()
|
||||
endif()
|
||||
|
||||
find_package(Libfdk QUIET)
|
||||
if(NOT LIBFDK_FOUND AND ENABLE_LIBFDK)
|
||||
message(FATAL_ERROR "Libfdk not found but set as enabled")
|
||||
elseif(NOT LIBFDK_FOUND)
|
||||
message(STATUS "Libfdk not found - obs-libfdk plugin disabled")
|
||||
return()
|
||||
endif()
|
||||
|
||||
include_directories(${LIBFDK_INCLUDE_DIRS})
|
||||
add_definitions(${LIBFDK_DEFINITIONS})
|
||||
|
||||
set(obs-libfdk_SOURCES
|
||||
obs-libfdk.c)
|
||||
|
||||
add_library(obs-libfdk MODULE
|
||||
${obs-libfdk_SOURCES})
|
||||
target_link_libraries(obs-libfdk
|
||||
libobs
|
||||
${LIBFDK_LIBRARIES})
|
||||
|
||||
install_obs_plugin_with_data(obs-libfdk data)
|
||||
Loading…
Add table
Add a link
Reference in a new issue