summaryrefslogtreecommitdiffstats
path: root/plugins/alsa
diff options
context:
space:
mode:
authorFrederic Marec <frederic.marec@iot.bzh>2019-06-05 15:52:11 +0200
committerFrederic Marec <frederic.marec@iot.bzh>2019-06-05 15:52:11 +0200
commitb7239507a26eeb61dd5861ba891204e3c646dc66 (patch)
tree5e82461001e534fdfecefe21fe1cb322aefdd504 /plugins/alsa
parent40aa428a3dff2c8d731d27d0867ff96e95dec938 (diff)
ADD missing Cmake definition
ADD HAVE_AVIRT cmake definition Bug-AGL: SPEC-2443 Change-Id: Ib3c0910e85656094eae4925d4b26d938e0ed453d Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
Diffstat (limited to 'plugins/alsa')
-rw-r--r--plugins/alsa/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/alsa/CMakeLists.txt b/plugins/alsa/CMakeLists.txt
index 2a2e855..029ee52 100644
--- a/plugins/alsa/CMakeLists.txt
+++ b/plugins/alsa/CMakeLists.txt
@@ -23,6 +23,9 @@ PROJECT_TARGET_ADD(alsa-softmixer)
# Define targets
ADD_LIBRARY(${TARGET_NAME} MODULE ${SOURCE_FILES})
+ if(HAVE_AVIRT)
+ add_definitions(-DHAVE_AVIRT)
+ endif()
# Alsa Plugin properties
SET_TARGET_PROPERTIES(${TARGET_NAME} PROPERTIES