aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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