summaryrefslogtreecommitdiffstats
path: root/plugins/audio/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/audio/CMakeLists.txt')
-rw-r--r--plugins/audio/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/audio/CMakeLists.txt b/plugins/audio/CMakeLists.txt
index b5adc643..7fa1f75f 100644
--- a/plugins/audio/CMakeLists.txt
+++ b/plugins/audio/CMakeLists.txt
@@ -1,9 +1,9 @@
IF(alsa_FOUND)
- INCLUDE_DIRECTORIES(${include_dirs})
-
ADD_LIBRARY(audio-api MODULE audio-api.c audio-alsa.c)
SET_TARGET_PROPERTIES(audio-api PROPERTIES PREFIX "")
+ TARGET_LINK_LIBRARIES(audio-api ${link_libraries})
+ INCLUDE_DIRECTORIES(${include_dirs})
INSTALL(TARGETS audio-api
LIBRARY DESTINATION ${plugin_install_dir})