From d3de5c9491b1f5c3392b9e86af073f44c6b923b4 Mon Sep 17 00:00:00 2001 From: Patrick Grimm Date: Mon, 21 Oct 2024 14:53:32 +0200 Subject: [PATCH] fix missing router-mstp in cmake (#820) --- CMakeLists.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index fe323052..97fe7832 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -938,6 +938,19 @@ if(BACNET_STACK_BUILD_APPS) endif() endif() + if(BACDL_BIP AND BACDL_MSTP) + add_executable( + router-mstp + apps/router-mstp/main.c) + target_link_libraries( + router-mstp + PRIVATE ${PROJECT_NAME}) + target_compile_options(router-mstp PRIVATE + # Unreachable code because we have endless loop. + $<$:/wd4702> + ) + endif() + if(BACDL_BIP AND BACDL_BIP6) add_executable( router-ipv6