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