fix app router cmake (#799)

Don't use return.
a) this is an if else
b) all apps below this would not be build
This commit is contained in:
Patrick Grimm
2024-10-08 19:54:53 +02:00
committed by GitHub
parent c4c1d9f921
commit 7178120176
-1
View File
@@ -904,7 +904,6 @@ if(BACNET_STACK_BUILD_APPS)
find_library(LIBCONFIG_LIBRARIES NAMES config)
if(NOT LIBCONFIG_LIBRARIES)
message(WARNING "BACNET: Will not build apps/router as libconfig not found")
return()
else()
add_executable(
router