Skip to content

Commit

Permalink
Merge pull request eclipse-zenoh#300 from DenisBiryukov91/fix-pico-li…
Browse files Browse the repository at this point in the history
…veliness-example-build

fix liveliness examples not being built for zenoh-pico if zenoh-c is disabled
  • Loading branch information
milyin authored Dec 5, 2024
2 parents 5ed3ecb + dcb9858 commit 212c3e1
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions examples/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,6 @@ function(add_examples glob mode lib)
endif()
endif()

if(NOT(ZENOHC_BUILD_WITH_UNSTABLE_API))
if(${file} MATCHES ".*liveliness.*$")
continue()
endif()
endif()

if(("${mode}" STREQUAL "zenohc") AND (NOT(ZENOHC_BUILD_WITH_UNSTABLE_API)))
if(${file} MATCHES ".*liveliness.*$")
continue()
Expand Down

0 comments on commit 212c3e1

Please sign in to comment.