Remove hard dependency on PulseAudio

This commit is contained in:
BtbN 2014-04-01 22:19:57 +02:00
parent 044680f0b8
commit 293fa069f0

View File

@ -1,6 +1,10 @@
project(linux-pulseaudio)
find_package(PulseAudio REQUIRED)
find_package(PulseAudio)
if(NOT PulseAudio_FOUND)
message(STATUS "PulseAudio not found, disabling PulseAudio plugin")
return()
endif()
include_directories(SYSTEM "${CMAKE_SOURCE_DIR}/libobs")