diff options
author | Nicky <nicky.dasmijn@gmail.com> | 2022-04-16 19:51:24 +0200 |
---|---|---|
committer | Nicky <nicky.dasmijn@gmail.com> | 2022-04-16 19:51:24 +0200 |
commit | 7bd0b8306b85d6657b79b658dc2e35c11e082142 (patch) | |
tree | 111b7e0320b8a7e4fc60a32de4b47496db0e78bc /indra | |
parent | 4934b65298b0f2bcf8898c87ec6f46f8d1412277 (diff) |
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
Diffstat (limited to 'indra')
-rw-r--r-- | indra/cmake/PulseAudio.cmake | 19 |
1 files changed, 1 insertions, 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" ) |