From e80987d9ba3758d030440de4af8c98cd398c6725 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Tue, 20 Oct 2026 04:36:27 +0000 Subject: automatic import of ros-humble-easynav-simple-localizer --- easynav-simple-localizer.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/easynav-simple-localizer.spec b/easynav-simple-localizer.spec index 5ab1df1..3c04b62 100644 --- a/easynav-simple-localizer.spec +++ b/easynav-simple-localizer.spec @@ -113,7 +113,8 @@ export PKG_CONFIG_PATH=/opt/ros/%{ros_distro}/lib/pkgconfig${PKG_CONFIG_PATH:+:$ # monorepo:本 spec 只构建 localizers/easynav_simple_localizer 子包(同批兄弟各有独立 RPM) cd localizers/easynav_simple_localizer -# §5:显式 out-of-source 构建,规避 openEuler %cmake 宏的位置参数坑 +# §5:显式 out-of-source 构建,规避 openEuler %%cmake 宏的位置参数坑 +# (注:注释里裸写该宏名会被 RPM 宏展开器当真调用,其后文字沦为 cmake 位置参数=源码目录,build 113759 实踩;故此处用 %% 转义,勿改回单 %) mkdir -p .obj && cd .obj %cmake3 \ -DCMAKE_INSTALL_PREFIX="/opt/ros/%{ros_distro}" \ -- cgit v1.2.3