From 293fa069f061f7668add411dce32267c99d864f8 Mon Sep 17 00:00:00 2001 From: BtbN Date: Tue, 1 Apr 2014 22:19:57 +0200 Subject: [PATCH] Remove hard dependency on PulseAudio --- plugins/linux-pulseaudio/CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/plugins/linux-pulseaudio/CMakeLists.txt b/plugins/linux-pulseaudio/CMakeLists.txt index 39ad08476..b21fdb745 100644 --- a/plugins/linux-pulseaudio/CMakeLists.txt +++ b/plugins/linux-pulseaudio/CMakeLists.txt @@ -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")