From e853da4bd1cb44b6a992aff96a4066ae5bd54720 Mon Sep 17 00:00:00 2001 From: Manuel Bachmann Date: Mon, 21 Dec 2015 13:37:24 +0100 Subject: 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 --- plugins/samples/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'plugins/samples') diff --git a/plugins/samples/CMakeLists.txt b/plugins/samples/CMakeLists.txt index ef5b449e..aa22cd24 100644 --- a/plugins/samples/CMakeLists.txt +++ b/plugins/samples/CMakeLists.txt @@ -2,10 +2,12 @@ INCLUDE_DIRECTORIES(${include_dirs}) ADD_LIBRARY(helloWorld-api MODULE HelloWorld.c) SET_TARGET_PROPERTIES(helloWorld-api PROPERTIES PREFIX "") +TARGET_LINK_LIBRARIES(helloWorld-api ${link_libraries}) INSTALL(TARGETS helloWorld-api LIBRARY DESTINATION ${plugin_install_dir}) ADD_LIBRARY(samplePost-api MODULE SamplePost.c) SET_TARGET_PROPERTIES(samplePost-api PROPERTIES PREFIX "") +TARGET_LINK_LIBRARIES(samplePost-api ${link_libraries}) INSTALL(TARGETS samplePost-api LIBRARY DESTINATION ${plugin_install_dir}) -- cgit 1.2.3-korg