From d24e7a59fbbd3f4cbb4bd4fdef3f36cc8708b278 Mon Sep 17 00:00:00 2001 From: f4exb Date: Thu, 30 Jun 2022 04:32:00 +0200 Subject: [PATCH] M17: added mod and demod cmake enablers --- CMakeLists.txt | 2 ++ plugins/channelrx/CMakeLists.txt | 5 ++++- plugins/channeltx/CMakeLists.txt | 5 ++++- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a5347fb37..013512f82 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -62,6 +62,7 @@ option(ENABLE_CHANNELRX_DEMODDAB "Enable channelrx demoddab plugin" ON) option(ENABLE_CHANNELRX_UDPSINK "Enable channelrx udpsink plugin" ON) option(ENABLE_CHANNELRX_DEMODAIS "Enable channelrx demodais plugin" ON) option(ENABLE_CHANNELRX_DEMODNFM "Enable channelrx demodnfm plugin" ON) +option(ENABLE_CHANNELRX_DEMODM17 "Enable channelrx demodm17 plugin" ON) option(ENABLE_CHANNELRX_FILESINK "Enable channelrx filesink plugin" ON) option(ENABLE_CHANNELRX_DEMODFREEDV "Enable channelrx demodfreedv plugin" ON) option(ENABLE_CHANNELRX_DEMODCHIRPCHAT "Enable channelrx demodchirpchat plugin" ON) @@ -80,6 +81,7 @@ option(ENABLE_CHANNELRX_DEMODDSD "Enable channelrx demoddsd plugin" ON) # Channel Tx enablers option(ENABLE_CHANNELTX "Enable channeltx plugins" ON) +option(ENABLE_CHANNELTX_MODM17 "Enable channeltx modm17 plugin" ON) option(ENABLE_CHANNELTX_MODNFM "Enable channeltx modnfm plugin" ON) option(ENABLE_CHANNELTX_MODAIS "Enable channeltx modais plugin" ON) option(ENABLE_CHANNELTX_LOCALSOURCE "Enable channeltx localsource plugin" ON) diff --git a/plugins/channelrx/CMakeLists.txt b/plugins/channelrx/CMakeLists.txt index 94e312d24..e482f8373 100644 --- a/plugins/channelrx/CMakeLists.txt +++ b/plugins/channelrx/CMakeLists.txt @@ -91,8 +91,11 @@ endif() if (ENABLE_CHANNELRX_DEMODFREEDV AND CODEC2_FOUND) add_subdirectory(demodfreedv) +endif() + +if (ENABLE_CHANNELRX_DEMODM17 AND CODEC2_FOUND) add_subdirectory(demodm17) -endif(CODEC2_FOUND) +endif() if (ENABLE_CHANNELRX_SIGMFFILESINK AND LIBSIGMF_FOUND AND CMAKE_CXX_COMPILER_ID STREQUAL "GNU") add_subdirectory(sigmffilesink) diff --git a/plugins/channeltx/CMakeLists.txt b/plugins/channeltx/CMakeLists.txt index 07bb75b9f..c8b81e3b6 100644 --- a/plugins/channeltx/CMakeLists.txt +++ b/plugins/channeltx/CMakeLists.txt @@ -61,5 +61,8 @@ endif() if (ENABLE_CHANNELTX_MODFREEDV AND CODEC2_FOUND) add_subdirectory(modfreedv) +endif() + +if (ENABLE_CHANNELTX_MODM17 AND CODEC2_FOUND) add_subdirectory(modm17) -endif(CODEC2_FOUND) +endif()