summaryrefslogtreecommitdiff
path: root/ros-humble-rtabmap-rviz-plugins-0.22.1-fix-cmake-paths.patch
blob: 25b8123d58401f881ca8ab046bbedc1336c2afa9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c1808eb..8c29544 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -7,11 +7,12 @@ endif()
 
 if(CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64")
   # issues #1285 #1288
-  find_library(
-    message_filters_LIB NAMES message_filters
-    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(
+  #   message_filters_LIB NAMES message_filters
+  #   PATHS "/opt/ros/$ENV{ROS_DISTRO}/lib"
+  #   NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH REQUIRED
+  # )
 endif()
 
 find_package(ament_cmake_ros REQUIRED)