summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYannick Gicquel <yannick.gicquel@iot.bzh>2016-09-23 18:44:21 +0200
committerYannick Gicquel <yannick.gicquel@iot.bzh>2016-10-11 17:09:07 +0200
commit9da9fcb89cd50689c7a80c0e12856eeb984e0327 (patch)
tree3cf84316f5f6545fce3ae541802105523a65efd2
parent074106319d2306cac4ea503140299b35161b8725 (diff)
CMakeLists: command line argument for pulse module installdir
Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
-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)
############################################################