Skip to content

Commit

Permalink
Disable querier example when ZENOHPICO_FEATURE_QUERY disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
sashacmc committed Jan 24, 2025
1 parent 0f77d1b commit 9497087
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ function(add_examples glob mode lib)
if ((${file} MATCHES "^.*liveliness.*$") AND NOT(ZENOHPICO_FEATURE_LIVELINESS))
continue()
endif()
if ((${file} MATCHES "^.*querier.*$") AND NOT(ZENOHPICO_BUILD_WITH_UNSTABLE_API))
if ((${file} MATCHES "^.*querier.*$") AND NOT(ZENOHPICO_FEATURE_QUERY) AND NOT(ZENOHPICO_BUILD_WITH_UNSTABLE_API))
continue()
endif()
endif()
Expand Down

0 comments on commit 9497087

Please sign in to comment.