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

26 lines
484 B
CMake
Raw Normal View History

2014-03-29 20:36:48 -07:00
project(linux-pulseaudio)
2014-04-01 13:19:57 -07:00
find_package(PulseAudio)
if(NOT PulseAudio_FOUND)
message(STATUS "PulseAudio not found, disabling PulseAudio plugin")
return()
endif()
include_directories(SYSTEM "${CMAKE_SOURCE_DIR}/libobs")
set(linux-pulseaudio_SOURCES
linux-pulseaudio.c
pulse-wrapper.c
pulse-input.c
)
add_library(linux-pulseaudio MODULE
${linux-pulseaudio_SOURCES}
)
target_link_libraries(linux-pulseaudio
libobs
${PULSEAUDIO_LIBRARY}
)
install_obs_plugin(linux-pulseaudio)