Fixed cmake dependencies to build readbdt, readfdt and router-ipv6 if BACDL_BIP=OFF (#777)
This commit is contained in:
+2
-2
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user