diff --git a/.github/workflows/freertos_plus_tcp.yaml b/.github/workflows/freertos_plus_tcp.yaml index 1e8ee0fe7..65231e75f 100644 --- a/.github/workflows/freertos_plus_tcp.yaml +++ b/.github/workflows/freertos_plus_tcp.yaml @@ -40,3 +40,8 @@ jobs: cmake -Bbuild -G"Ninja Multi-Config" cmake --build ./build --config Debug cmake --build ./build --config Release + env: + Z_FEATURE_PUBLICATION: 1 + Z_FEATURE_SUBSCRIPTION: 1 + Z_FEATURE_QUERYABLE: 1 + Z_FEATURE_QUERY: 1 diff --git a/examples/freertos_plus_tcp/CMakeLists.txt b/examples/freertos_plus_tcp/CMakeLists.txt index ba0b53501..8130e0a23 100644 --- a/examples/freertos_plus_tcp/CMakeLists.txt +++ b/examples/freertos_plus_tcp/CMakeLists.txt @@ -64,10 +64,6 @@ target_link_libraries(zenohpico target_compile_definitions(zenohpico PUBLIC Z_FEATURE_MULTI_THREAD=1 - Z_FEATURE_PUBLICATION=1 - Z_FEATURE_SUBSCRIPTION=1 - Z_FEATURE_QUERY=1 - Z_FEATURE_QUERYABLE=1 Z_FEATURE_LINK_TCP=1 Z_FEATURE_SCOUTING_UDP=1 Z_FEATURE_LINK_UDP_UNICAST=1