X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=plugins%2Fradio%2FCMakeLists.txt;h=04d0fa21bfcc5f6e04e25a2a1284e6e8461405c9;hb=c4ec16f3868b099f2904b54be78bcd09d3760a24;hp=c7c8541141b5f1b92c6e068f8495f4860ad3c8d1;hpb=98f5843474dcec55827279b6f42007341c171ae0;p=src%2Fapp-framework-binder.git diff --git a/plugins/radio/CMakeLists.txt b/plugins/radio/CMakeLists.txt index c7c85411..04d0fa21 100644 --- a/plugins/radio/CMakeLists.txt +++ b/plugins/radio/CMakeLists.txt @@ -1,9 +1,9 @@ IF(librtlsdr_FOUND) - INCLUDE_DIRECTORIES(${include_dirs}) - ADD_LIBRARY(radio-api MODULE radio-api.c radio-rtlsdr.c) SET_TARGET_PROPERTIES(radio-api PROPERTIES PREFIX "") + TARGET_LINK_LIBRARIES(radio-api ${link_libraries}) + INCLUDE_DIRECTORIES(${include_dirs}) INSTALL(TARGETS radio-api LIBRARY DESTINATION ${plugin_install_dir})