From a0ffd96f8ff0e08f813b037afd804324a256adcb Mon Sep 17 00:00:00 2001 From: Patrick Grimm Date: Mon, 23 Sep 2024 16:52:36 +0200 Subject: [PATCH] Fixed cmake dependencies to build readbdt, readfdt and router-ipv6 if BACDL_BIP=OFF (#777) --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1573cefa..5c6a8d9f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -799,7 +799,7 @@ if(BACNET_STACK_BUILD_APPS) ) endif(BACNET_BUILD_BACDISCOVER_APP) - if(BACDL_BIP OR BACDL_BIP6) + if(BACDL_BIP) add_executable(readbdt apps/readbdt/main.c) target_link_libraries(readbdt PRIVATE ${PROJECT_NAME}) @@ -861,7 +861,7 @@ if(BACNET_STACK_BUILD_APPS) endif() endif() - if(BACDL_BIP6) + if(BACDL_BIP AND BACDL_BIP6) add_executable(router-ipv6 apps/router-ipv6/main.c) target_link_libraries(router-ipv6 PRIVATE ${PROJECT_NAME}) endif()