From 9da9fcb89cd50689c7a80c0e12856eeb984e0327 Mon Sep 17 00:00:00 2001 From: Yannick Gicquel Date: Fri, 23 Sep 2016 18:44:21 +0200 Subject: CMakeLists: command line argument for pulse module installdir Signed-off-by: Yannick Gicquel --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) ############################################################ -- cgit 1.2.3-korg