Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add various moveit, rviz, ur, twist_mux and zenoh packages required by IIT internal projects #19

Merged
merged 15 commits into from
Feb 1, 2025
Merged
Prev Previous commit
Next Next commit
Create ros-jazzy-tinyxml2-vendor.patch
traversaro authored Jan 22, 2025
commit 869a356a2fc698464ab3a733ad2ff7d843f0b368
17 changes: 17 additions & 0 deletions patch/ros-jazzy-tinyxml2-vendor.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
diff --git a/cmake/Modules/FindTinyXML2.cmake b/cmake/Modules/FindTinyXML2.cmake
index 87991be..5436d86 100644
--- a/cmake/Modules/FindTinyXML2.cmake
+++ b/cmake/Modules/FindTinyXML2.cmake
@@ -67,6 +67,12 @@ else()
set_property(TARGET tinyxml2::tinyxml2 PROPERTY INTERFACE_INCLUDE_DIRECTORIES ${TINYXML2_INCLUDE_DIR})
list(APPEND TinyXML2_TARGETS tinyxml2::tinyxml2)
endif()
+
+ # Compatibility with https://github.com/gazebosim/gz-cmake/blob/eb1c510e6278935eb742ed92c6a6d1388439f8bd/cmake/FindTINYXML2.cmake#L4
+ if(NOT TARGET TINYXML2::TINYXML2)
+ add_library(TINYXML2::TINYXML2 INTERFACE IMPORTED)
+ set_property(TARGET TINYXML2::TINYXML2 PROPERTY INTERFACE_LINK_LIBRARIES tinyxml2::tinyxml2)
+ endif()
endif()

# Set mixed case INCLUDE_DIRS and LIBRARY variables from upper case ones.