aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/radio/CMakeLists.txt
blob: 04d0fa21bfcc5f6e04e25a2a1284e6e8461405c9 (plain)
1
2
3
4
5
6
7
8
9
10
IF(librtlsdr_FOUND)

  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})

ENDIF(librtlsdr_FOUND)