aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfuzzard <fuzzard@users.noreply.github.com>2023-10-18 13:30:33 +1000
committerGitHub <noreply@github.com>2023-10-18 13:30:33 +1000
commit38967539f211936ebf8fe7ff5d16560443a226e4 (patch)
treec23081401aa1f2601fade53a5aea4aa0372a3abf
parent3efc3da67b225ff4fab8840ec0bb1ccea3b2e48e (diff)
parent0806c9db1eb75d81ba3033ccb9a8ee4cb84449f4 (diff)
Merge pull request #23955 from fuzzard/cmake_fix_pulseaudio
[cmake] FindPulseAudio fix compile definition
-rw-r--r--cmake/modules/FindPulseAudio.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/modules/FindPulseAudio.cmake b/cmake/modules/FindPulseAudio.cmake
index c35a405a79..8a96588f39 100644
--- a/cmake/modules/FindPulseAudio.cmake
+++ b/cmake/modules/FindPulseAudio.cmake
@@ -62,7 +62,7 @@ if(NOT TARGET PulseAudio::PulseAudio)
set_target_properties(PulseAudio::PulseAudio PROPERTIES
IMPORTED_LOCATION "${PULSEAUDIO_LIBRARY}"
INTERFACE_INCLUDE_DIRECTORIES "${PULSEAUDIO_INCLUDE_DIR}"
- INTERFACE_COMPILE_DEFINITIONS HAVE_LIBPULSE=1
+ INTERFACE_COMPILE_DEFINITIONS HAS_PULSEAUDIO=1
INTERFACE_LINK_LIBRARIES "PulseAudio::PulseAudioMainloop;PulseAudio::PulseAudioSimple")
set_property(GLOBAL APPEND PROPERTY INTERNAL_DEPS_PROP PulseAudio::PulseAudio)