diff options
| author | CoprDistGit <infra@openeuler.org> | 2026-09-20 12:33:04 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2026-09-20 12:33:04 +0000 |
| commit | 511bb0eb11af05da770ae3f51cd355c23c62c975 (patch) | |
| tree | bd6f38f8c8ab0c1092b53d188396ab1cc3444113 /autoware-utils-debug.spec | |
| parent | 17a34f8d9872bc406319742d517841d510143a16 (diff) | |
automatic import of autoware-utils-debug
Diffstat (limited to 'autoware-utils-debug.spec')
| -rw-r--r-- | autoware-utils-debug.spec | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/autoware-utils-debug.spec b/autoware-utils-debug.spec index 2eee136..1d56c54 100644 --- a/autoware-utils-debug.spec +++ b/autoware-utils-debug.spec @@ -51,16 +51,24 @@ Header files and CMake integration files for %{name}. %autosetup -n %{name}-%{version} %build +[ -f /opt/ros/humble/setup.sh ] && source /opt/ros/humble/setup.sh || true +export PYTHONPATH=/opt/ros/humble/lib/python%{python3_version}/site-packages${PYTHONPATH:+:$PYTHONPATH} +export PKG_CONFIG_PATH=/opt/ros/humble/lib/pkgconfig${PKG_CONFIG_PATH:+:$PKG_CONFIG_PATH} mkdir -p build_pkg cd build_pkg cmake \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/opt/ros/humble \ + -DAMENT_PREFIX_PATH=/opt/ros/humble \ + -DCMAKE_PREFIX_PATH=/opt/ros/humble \ -DBUILD_TESTING=OFF \ ../autoware_utils_debug %make_build %install +[ -f /opt/ros/humble/setup.sh ] && source /opt/ros/humble/setup.sh || true +export PYTHONPATH=/opt/ros/humble/lib/python%{python3_version}/site-packages${PYTHONPATH:+:$PYTHONPATH} +export PKG_CONFIG_PATH=/opt/ros/humble/lib/pkgconfig${PKG_CONFIG_PATH:+:$PKG_CONFIG_PATH} cd build_pkg %make_install |
