diff options
-rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 0704df58..ddc37e53 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -919,8 +919,9 @@ if(PkgConfig_FOUND) option(ALSOFT_BACKEND_PIPEWIRE "Enable PipeWire backend" ON) if(ALSOFT_BACKEND_PIPEWIRE) set(HAVE_PIPEWIRE 1) - set(BACKENDS "${BACKENDS} PipeWire,") + set(BACKENDS "${BACKENDS} PipeWire${IS_LINKED},") set(ALC_OBJS ${ALC_OBJS} alc/backends/pipewire.cpp alc/backends/pipewire.h) + add_backend_libs(${PIPEWIRE_LIBRARIES}) set(INC_PATHS ${INC_PATHS} ${PIPEWIRE_INCLUDE_DIRS}) endif() endif() |