From 469986cd8011985486e0d081850a1f3705da74ec Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Sat, 28 Mar 2026 08:06:59 +0000 Subject: automatic import of rtabmap-sync --- ros-humble-rtabmap-sync-0.22.1-fix-cmake-paths.patch | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ros-humble-rtabmap-sync-0.22.1-fix-cmake-paths.patch b/ros-humble-rtabmap-sync-0.22.1-fix-cmake-paths.patch index 4d2359b..232c0da 100644 --- a/ros-humble-rtabmap-sync-0.22.1-fix-cmake-paths.patch +++ b/ros-humble-rtabmap-sync-0.22.1-fix-cmake-paths.patch @@ -1,7 +1,8 @@ -diff -Naur rtabmap-sync-0.22.1_orig/CMakeLists.txt rtabmap-sync-0.22.1/CMakeLists.txt ---- rtabmap-sync-0.22.1_orig/CMakeLists.txt 2024-01-01 00:00:00.000000000 +0800 -+++ rtabmap-sync-0.22.1/CMakeLists.txt 2024-01-01 00:00:00.000000000 +0800 -@@ -3,16 +3,18 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 5bbf39f..9bc566f 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -3,16 +3,17 @@ project(rtabmap_sync) if(CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64") # issues #1285 #1288 @@ -15,8 +16,7 @@ diff -Naur rtabmap-sync-0.22.1_orig/CMakeLists.txt rtabmap-sync-0.22.1/CMakeList - PATHS "/usr/lib/${CMAKE_SYSTEM_PROCESSOR}-linux-gnu" - NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH REQUIRED - ) -+ # Note: Modified for openEuler - commented out hardcoded find_library paths -+ # The default CMake find_library mechanism works correctly on openEuler ++ # 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" -- cgit v1.2.3