X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=CMakeLists.txt;h=55bc047cb2ac4ff53ccb06f2220e97bb9bee519b;hb=9da9fcb89cd50689c7a80c0e12856eeb984e0327;hp=f03a65d1772626b6dda7e0464a45c368beba275e;hpb=074106319d2306cac4ea503140299b35161b8725;p=staging%2Fagl-audio-plugin.git 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) ############################################################