blob: 33a5e9f9862c3eee5e4be9d05c40eb1b1c57283c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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)
|