File tree Expand file tree Collapse file tree 2 files changed +3
-9
lines changed Expand file tree Collapse file tree 2 files changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -24,15 +24,8 @@ find_package(rclcpp REQUIRED)
24
24
find_package (Eigen3 REQUIRED)
25
25
find_package (GDAL 3 REQUIRED)
26
26
27
- # macOS
28
- if (${CMAKE_SYSTEM_NAME} MATCHES Darwin)
29
- if (${CMAKE_SYSTEM_PROCESSOR} MATCHES arm64)
30
- link_directories (/opt/homebrew/opt/yaml-cpp/lib)
31
- endif ()
32
- if (${CMAKE_SYSTEM_PROCESSOR} MATCHES x84_64)
33
- link_directories (/usr/local/opt/yaml-cpp/lib)
34
- endif ()
35
- endif ()
27
+ find_package (yaml_cpp_vendor REQUIRED)
28
+ link_directories (${yaml_cpp_vendor_LIBRARY_DIRS} )
36
29
37
30
# Reverse compatability for GDAL<3.5
38
31
# https://gdal.org/development/cmake.html
Original file line number Diff line number Diff line change 18
18
<depend >grid_map_ros</depend >
19
19
<depend >libgdal-dev</depend >
20
20
<depend >rclcpp</depend >
21
+ <depend >yaml_cpp_vendor</depend >
21
22
<exec_depend >ros2launch</exec_depend >
22
23
23
24
<export >
You can’t perform that action at this time.
0 commit comments