summaryrefslogtreecommitdiff
path: root/ros-humble-rtabmap-conversions-0.22.1-fix-cmake-paths.patch
diff options
context:
space:
mode:
Diffstat (limited to 'ros-humble-rtabmap-conversions-0.22.1-fix-cmake-paths.patch')
-rw-r--r--ros-humble-rtabmap-conversions-0.22.1-fix-cmake-paths.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/ros-humble-rtabmap-conversions-0.22.1-fix-cmake-paths.patch b/ros-humble-rtabmap-conversions-0.22.1-fix-cmake-paths.patch
new file mode 100644
index 0000000..89ad55a
--- /dev/null
+++ b/ros-humble-rtabmap-conversions-0.22.1-fix-cmake-paths.patch
@@ -0,0 +1,22 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 37a5b0a..8e0557d 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -7,11 +7,12 @@ endif()
+
+ if(CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64")
+ # issues #1285 #1288
+- find_library(
+- builtin_interfaces__rosidl_generator_c_LIB NAMES builtin_interfaces__rosidl_generator_c
+- PATHS "/opt/ros/$ENV{ROS_DISTRO}/lib"
+- NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH REQUIRED
+- )
++ # Note: Commented out for openEuler - hardcoded Ubuntu path not applicable
++ # find_library(
++ # builtin_interfaces__rosidl_generator_c_LIB NAMES builtin_interfaces__rosidl_generator_c
++ # PATHS "/opt/ros/$ENV{ROS_DISTRO}/lib"
++ # NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH REQUIRED
++ # )
+ endif()
+
+