summaryrefslogtreecommitdiff
path: root/easynav-simple-localizer.spec
diff options
context:
space:
mode:
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}" \