summaryrefslogtreecommitdiff
path: root/ros-humble-rtabmap-viz-0.22.1-fix-cmake-paths.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2026-04-06 15:35:21 +0000
committerCoprDistGit <infra@openeuler.org>2026-04-06 15:35:21 +0000
commit5ef2e3c5a0fa6589ec0794a35a74293e3b884cca (patch)
treef3ed8a863cd5730139f01b07e5f11d23d10c24ae /ros-humble-rtabmap-viz-0.22.1-fix-cmake-paths.patch
parentbe2abb6f9dd80872309c75a8f238657efe283213 (diff)
automatic import of rtabmap-vizopeneuler24.03_LTS
Diffstat (limited to 'ros-humble-rtabmap-viz-0.22.1-fix-cmake-paths.patch')
-rw-r--r--ros-humble-rtabmap-viz-0.22.1-fix-cmake-paths.patch42
1 files changed, 42 insertions, 0 deletions
diff --git a/ros-humble-rtabmap-viz-0.22.1-fix-cmake-paths.patch b/ros-humble-rtabmap-viz-0.22.1-fix-cmake-paths.patch
new file mode 100644
index 0000000..33a5e9f
--- /dev/null
+++ b/ros-humble-rtabmap-viz-0.22.1-fix-cmake-paths.patch
@@ -0,0 +1,42 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index a7707f2..38ba5a1 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -7,21 +7,22 @@ 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
+- )
+- find_library(
+- rcutils_LIB NAMES rcutils
+- 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/Debian paths 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(
++ # rcutils_LIB NAMES rcutils
++ # 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(ament_cmake REQUIRED)