summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f03a65d..55bc047 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -34,7 +34,8 @@ SET(include_dirs ${INCLUDE_DIRS} ${dependencies_INCLUDE_DIRS})
SET(link_libraries ${LINK_LIBRARIES} ${dependencies_LIBRARIES})
STRING(REGEX REPLACE ";" " " link_flags "${dependencies_LDFLAGS}" "")
-SET(plugin_install_dir ${CMAKE_INSTALL_LIBDIR}/pulse-6.0/modules)
+SET(PULSE_PV "6.0" CACHE STRING "PulseAudio version")
+SET(plugin_install_dir ${CMAKE_INSTALL_LIBDIR}/pulse-${PULSE_PV}/modules)
############################################################