diff options
Diffstat (limited to 'nebula-hesai-common.spec')
| -rw-r--r-- | nebula-hesai-common.spec | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nebula-hesai-common.spec b/nebula-hesai-common.spec index bf1cbfb..c860cb9 100644 --- a/nebula-hesai-common.spec +++ b/nebula-hesai-common.spec @@ -27,6 +27,10 @@ BuildRequires: ros-%{ros_distro}-autoware-cmake BuildRequires: ros-%{ros_distro}-ros-environment # ROS 库依赖(package.xml <depend>,§6 反幻觉铁律:同批 sibling nebula-core-common 已在 COPR 递归构建) BuildRequires: ros-%{ros_distro}-nebula-core-common +# 系统依赖(nebula_core_common 的 CMakeLists ament_export_dependencies(Boost nlohmann_json) +# 传递性触发 find_package(Boost/nlohmann_json),构建环境须有 -devel 头文件与 cmake config) +BuildRequires: boost-devel +BuildRequires: nlohmann-json-devel # 运行时 Requires:/opt/ros 被 __requires_exclude_from 豁免、autodeps 扫不到,必须手写(§6) Requires: ros-%{ros_distro}-ros-workspace |
