aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/radio/CMakeLists.txt
blob: c7c8541141b5f1b92c6e068f8495f4860ad3c8d1 (plain)
1
2
3
4
5
6
7
8
9
10
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 "")
  INSTALL(TARGETS radio-api
          LIBRARY DESTINATION ${plugin_install_dir})

ENDIF(librtlsdr_FOUND)