0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-20 21:13:04 +02:00
obs-studio/plugins/obs-libfdk/CMakeLists.txt
BtbN 38c2fc87aa Move all data into the subdir it belongs to
Completely removes the build dir in favor of cmake based build layouting
2014-07-19 01:38:41 +02:00

23 lines
466 B
CMake

project(obs-libfdk)
find_package(Libfdk QUIET)
if(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(obs-libfdk)
install_obs_plugin_data(obs-libfdk data)