Fixed cmake dependencies to build readbdt, readfdt and router-ipv6 if BACDL_BIP=OFF (#777)

This commit is contained in:
Patrick Grimm
2024-09-23 16:52:36 +02:00
committed by GitHub
parent fe1fd39261
commit a0ffd96f8f
+2 -2
View File
@@ -799,7 +799,7 @@ if(BACNET_STACK_BUILD_APPS)
) )
endif(BACNET_BUILD_BACDISCOVER_APP) endif(BACNET_BUILD_BACDISCOVER_APP)
if(BACDL_BIP OR BACDL_BIP6) if(BACDL_BIP)
add_executable(readbdt apps/readbdt/main.c) add_executable(readbdt apps/readbdt/main.c)
target_link_libraries(readbdt PRIVATE ${PROJECT_NAME}) target_link_libraries(readbdt PRIVATE ${PROJECT_NAME})
@@ -861,7 +861,7 @@ if(BACNET_STACK_BUILD_APPS)
endif() endif()
endif() endif()
if(BACDL_BIP6) if(BACDL_BIP AND BACDL_BIP6)
add_executable(router-ipv6 apps/router-ipv6/main.c) add_executable(router-ipv6 apps/router-ipv6/main.c)
target_link_libraries(router-ipv6 PRIVATE ${PROJECT_NAME}) target_link_libraries(router-ipv6 PRIVATE ${PROJECT_NAME})
endif() endif()