Skip to content

Commit

Permalink
Patch even for iron builds
Browse files Browse the repository at this point in the history
Signed-off-by: Yadunund <[email protected]>
  • Loading branch information
Yadunund committed Mar 25, 2024
1 parent 0f568c8 commit af91402
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions zenoh_c_vendor/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,6 @@ find_package(ament_cmake_vendor_package REQUIRED)
# latter is a list separater in cmake and hence the string will be split into two
# when expanded.
set(ZENOHC_CARGO_FLAGS "--no-default-features$<SEMICOLON>--features=zenoh/transport_tcp zenoh/shared-memory")

# Apply the patch the zenoh-c CMakeLists.txt only if building an ROS 2 version
# newer than Iron.
set(pathces "")
string(SUBSTRING "$ENV{ROS_DISTRO}" 0 1 first_char)
if("${first_char}" STRGREATER "i")
set(patches "patches")
endif()

# Set VCS_VERSION to include changes from https://github.com/eclipse-zenoh/zenoh/pull/802
# which was synced to zenoh-c in https://github.com/eclipse-zenoh/zenoh-c/pull/272.
ament_vendor(zenoh_c_vendor
Expand Down

0 comments on commit af91402

Please sign in to comment.