From e2d857c5f05f84de8e2642ff9272a80ea9e5fed6 Mon Sep 17 00:00:00 2001 From: Manuel Bachmann Date: Wed, 16 Dec 2015 11:25:54 +0100 Subject: New tree organization, update CMake req. to 2.8.8. Use CMake-2.8.8-specific feature to allow building the daemon from various source directories. Signed-off-by: Manuel Bachmann --- plugins/CMakeLists.txt | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 plugins/CMakeLists.txt (limited to 'plugins/CMakeLists.txt') diff --git a/plugins/CMakeLists.txt b/plugins/CMakeLists.txt new file mode 100644 index 00000000..269517ad --- /dev/null +++ b/plugins/CMakeLists.txt @@ -0,0 +1,8 @@ +SET(PLUGINS_SOURCES audio/audio-api.c session/token-api.c) + +IF(librtlsdr_FOUND) + SET(PLUGINS_SOURCES ${PLUGINS_SOURCES} radio/radio-api.c) +ENDIF(librtlsdr_FOUND) + +ADD_LIBRARY(plugins OBJECT ${PLUGINS_SOURCES}) +INCLUDE_DIRECTORIES(${include_dirs}) -- cgit 1.2.3-korg