summaryrefslogtreecommitdiff
path: root/easynav-simple-localizer.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2026-10-20 04:36:27 +0000
committerCoprDistGit <infra@openeuler.org>2026-10-20 04:36:27 +0000
commite80987d9ba3758d030440de4af8c98cd398c6725 (patch)
tree7198e3e41d1b7e36db878f4c9fb954b12fcd9185 /easynav-simple-localizer.spec
parentd1f20e2ea4feb92e463dad11490839ca73679c5c (diff)
automatic import of ros-humble-easynav-simple-localizer
Diffstat (limited to 'easynav-simple-localizer.spec')
-rw-r--r--easynav-simple-localizer.spec3
1 files changed, 2 insertions, 1 deletions
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}" \