summaryrefslogtreecommitdiffstats
path: root/plugins/audio/CMakeLists.txt
diff options
context:
space:
mode:
authorManuel Bachmann <manuel.bachmann@iot.bzh>2015-12-21 13:37:24 +0100
committerManuel Bachmann <manuel.bachmann@iot.bzh>2015-12-21 14:09:08 +0100
commite853da4bd1cb44b6a992aff96a4066ae5bd54720 (patch)
treebf891c0b7c5dcc5d0da6844f497d09c1a32dab5d /plugins/audio/CMakeLists.txt
parent33c9353cce432422fea4ba61ab17b20dd8cfe800 (diff)
Fix Radio and Audio plugin symbols
radio-api/audio-api.so were not valid, because they were not linked correctly with librtlsdr/ALSA. Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
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})