Code Review
/
staging
/
agl-audio-plugin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
0741063
)
CMakeLists: command line argument for pulse module installdir
author
Yannick Gicquel
<yannick.gicquel@iot.bzh>
Fri, 23 Sep 2016 16:44:21 +0000
(18:44 +0200)
committer
Yannick Gicquel
<yannick.gicquel@iot.bzh>
Tue, 11 Oct 2016 15:09:07 +0000
(17:09 +0200)
Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
f03a65d
..
55bc047
100644
(file)
--- 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)
############################################################