obs-studio/plugins/linux-v4l2/CMakeLists.txt

17 lines
283 B
CMake

include_directories(SYSTEM "${CMAKE_SOURCE_DIR}/libobs")
set(linux-v4l2_SOURCES
linux-v4l2.c
v4l2-input.c
)
add_library(linux-v4l2 MODULE
${linux-v4l2_SOURCES}
)
target_link_libraries(linux-v4l2
libobs
)
install_obs_plugin(linux-v4l2)
install_obs_plugin_data(linux-v4l2 data)