From b7239507a26eeb61dd5861ba891204e3c646dc66 Mon Sep 17 00:00:00 2001 From: Frederic Marec Date: Wed, 5 Jun 2019 15:52:11 +0200 Subject: ADD missing Cmake definition ADD HAVE_AVIRT cmake definition Bug-AGL: SPEC-2443 Change-Id: Ib3c0910e85656094eae4925d4b26d938e0ed453d Signed-off-by: Frederic Marec --- plugins/alsa/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'plugins/alsa/CMakeLists.txt') 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 -- cgit 1.2.3-korg