summary refs log tree commit diff
path: root/pkgs/applications/audio/pulseaudio-modules-bt/fix-install-path.patch
blob: e500d1fb13335e4d875892f747c19206cc1efef5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d869979..185144d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -143,13 +143,13 @@ INSTALL(TARGETS
         module-bluez5-device
         module-bluetooth-discover
         module-bluetooth-policy
-        LIBRARY DESTINATION ${PulseAudio_modlibexecdir})
+        LIBRARY DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/pulse-${PulseAudio_VERSION}/modules/)
 
 if(NOT ${HAVE_SYSTEM_LDAC})
 
 INSTALL(TARGETS
         ldacBT_enc
         ldacBT_abr
-        LIBRARY DESTINATION ${PulseAudio_modlibexecdir})
+        LIBRARY DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/pulse-${PulseAudio_VERSION}/modules/)
 
 endif()