fix missing router-mstp in cmake (#820)

This commit is contained in:
Patrick Grimm
2024-10-21 14:53:32 +02:00
committed by GitHub
parent b9de08cf60
commit d3de5c9491
+13
View File
@@ -938,6 +938,19 @@ if(BACNET_STACK_BUILD_APPS)
endif() endif()
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.
$<$<C_COMPILER_ID:MSVC>:/wd4702>
)
endif()
if(BACDL_BIP AND BACDL_BIP6) if(BACDL_BIP AND BACDL_BIP6)
add_executable( add_executable(
router-ipv6 router-ipv6