summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManuel Bachmann <manuel.bachmann@iot.bzh>2015-12-16 17:22:02 +0100
committerManuel Bachmann <manuel.bachmann@iot.bzh>2015-12-16 17:22:02 +0100
commita51560db710b400a1d2c68831c368158a94bdb81 (patch)
tree5f3fc7b0c83be9eacab29f4ba7a89938a39576be
parent41c462374fb25fae29f3b4a28eb99fdb639e8547 (diff)
Fix radio plugin loading
Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
-rw-r--r--src/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index ed6947e9..50e3ef37 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -1,5 +1,5 @@
IF(librtlsdr_FOUND)
- ADD_DEFINITIONS(-DWITH_RADIO_PLUGIN=1)
+ ADD_DEFINITIONS(-DHAVE_RADIO_PLUGIN=1)
ENDIF(librtlsdr_FOUND)
ADD_LIBRARY(src OBJECT main.c config.c session.c http-svc.c rest-api.c)