aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/CMakeLists.txt
blob: 7696938044743970a628bd97be8e99bad06cc52c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
SET(SESSION_PLUGIN session/token-api.c)
SET(SAMPLE_PLUGINS samples/HelloWorld.c)
IF(alsa_FOUND)
  SET(AUDIO_PLUGIN audio/audio-api.c audio/audio-alsa.c)
ENDIF(alsa_FOUND)
IF(librtlsdr_FOUND)
  SET(RADIO_PLUGIN radio/radio-api.c radio/radio-rtlsdr.c)
ENDIF(librtlsdr_FOUND)

SET(PLUGINS_SOURCES ${SESSION_PLUGIN} ${SAMPLE_PLUGINS} ${AUDIO_PLUGIN} ${RADIO_PLUGIN})

ADD_LIBRARY(plugins OBJECT ${PLUGINS_SOURCES})
INCLUDE_DIRECTORIES(${include_dirs})