From 839dcdf0dcde32cbdf023250da1206b3641db9e2 Mon Sep 17 00:00:00 2001 From: f4exb Date: Sat, 1 Jun 2019 21:35:33 +0200 Subject: [PATCH] Build: fixed triggering of demoddsd build when using external libraries --- external/CMakeLists.txt | 2 +- plugins/channelrx/demoddsd/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/external/CMakeLists.txt b/external/CMakeLists.txt index be9c26c21..b0814f326 100644 --- a/external/CMakeLists.txt +++ b/external/CMakeLists.txt @@ -122,7 +122,7 @@ ExternalProject_Add(mbelib ExternalProject_Get_Property(mbelib source_dir binary_dir) set(USE_MBELIB ON) set(DSDCC_DEPENDS mbelib) -set(LIBMBE_FOUND) +set(LIBMBE_FOUND ON CACHE INTERNAL "") set(LIBMBE_INCLUDE_DIR "${source_dir}") if(WIN32) set(LIBMBE_LIBRARIES "${SDRANGEL_BINARY_LIB_DIR}/mbe.lib") diff --git a/plugins/channelrx/demoddsd/CMakeLists.txt b/plugins/channelrx/demoddsd/CMakeLists.txt index b35c15468..deae1950d 100644 --- a/plugins/channelrx/demoddsd/CMakeLists.txt +++ b/plugins/channelrx/demoddsd/CMakeLists.txt @@ -53,7 +53,7 @@ add_library(${TARGET_NAME} SHARED ) if(ENABLE_EXTERNAL_LIBRARIES) - add_dependencies(${TARGET_NAME dsdcc) + add_dependencies(${TARGET_NAME} dsdcc) endif() target_link_libraries(${TARGET_NAME}