summaryrefslogtreecommitdiff
path: root/ros-humble-rtabmap-sync-0.22.1-fix-cmake-paths.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2026-04-06 14:28:38 +0000
committerCoprDistGit <infra@openeuler.org>2026-04-06 14:28:38 +0000
commit9921b74d92276eeae3ddd62bd699e63ca56faf2f (patch)
tree2841d1791abd9c8a9f3a37faa491cc91c4d54a72 /ros-humble-rtabmap-sync-0.22.1-fix-cmake-paths.patch
parentbb331acfb70d1c80878b0f78e703ce73af882e5b (diff)
automatic import of rtabmap-syncopeneuler24.03_LTS
Diffstat (limited to 'ros-humble-rtabmap-sync-0.22.1-fix-cmake-paths.patch')
-rw-r--r--ros-humble-rtabmap-sync-0.22.1-fix-cmake-paths.patch32
1 files changed, 32 insertions, 0 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
new file mode 100644
index 0000000..232c0da
--- /dev/null
+++ b/ros-humble-rtabmap-sync-0.22.1-fix-cmake-paths.patch
@@ -0,0 +1,32 @@
+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
+- 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
+- )
+- find_library(
+- crypto_LIB NAMES crypto
+- PATHS "/usr/lib/${CMAKE_SYSTEM_PROCESSOR}-linux-gnu"
+- 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
++ # )
++ # find_library(
++ # crypto_LIB NAMES crypto
++ # PATHS "/usr/lib/${CMAKE_SYSTEM_PROCESSOR}-linux-gnu"
++ # NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH REQUIRED
++ # )
+ endif()
+
+ find_package(cv_bridge REQUIRED)