From 7bd0b8306b85d6657b79b658dc2e35c11e082142 Mon Sep 17 00:00:00 2001 From: Nicky Date: Sat, 16 Apr 2022 19:51:24 +0200 Subject: Make Pulseaudio.cmake just error out. a) it is broken (there is no 3p for example), the define it sets it used. The vrabiables it did set are unused. There is a case to probe for pulseaudio and this is the Linux volume catcher. But for that it is only necessary to detect the system include to get a few defines and functions --- indra/cmake/PulseAudio.cmake | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/indra/cmake/PulseAudio.cmake b/indra/cmake/PulseAudio.cmake index 1b7adc1a62..303db97db6 100644 --- a/indra/cmake/PulseAudio.cmake +++ b/indra/cmake/PulseAudio.cmake @@ -1,21 +1,4 @@ # -*- cmake -*- include(Prebuilt) -set(PULSEAUDIO OFF CACHE BOOL "Build with PulseAudio support, if available.") - -if (PULSEAUDIO) - use_prebuilt_binary(pulseaudio) - set(PULSEAUDIO_FOUND ON FORCE BOOL) - set(PULSEAUDIO_INCLUDE_DIRS - ${LIBS_PREBUILT_DIR}/include - ) - # We don't need to explicitly link against pulseaudio itself, because - # the viewer probes for the system's copy at runtime. - set(PULSEAUDIO_LIBRARIES - # none needed! - ) -endif (PULSEAUDIO) - -if (PULSEAUDIO_FOUND) - add_definitions(-DLL_PULSEAUDIO_ENABLED=1) -endif (PULSEAUDIO_FOUND) +message( FATAL_ERROR "Pulseaudio cmake file is broken" ) -- cgit v1.2.3