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:
@@ -904,7 +904,6 @@ if(BACNET_STACK_BUILD_APPS)
|
|||||||
find_library(LIBCONFIG_LIBRARIES NAMES config)
|
find_library(LIBCONFIG_LIBRARIES NAMES config)
|
||||||
if(NOT LIBCONFIG_LIBRARIES)
|
if(NOT LIBCONFIG_LIBRARIES)
|
||||||
message(WARNING "BACNET: Will not build apps/router as libconfig not found")
|
message(WARNING "BACNET: Will not build apps/router as libconfig not found")
|
||||||
return()
|
|
||||||
else()
|
else()
|
||||||
add_executable(
|
add_executable(
|
||||||
router
|
router
|
||||||
|
|||||||
Reference in New Issue
Block a user