ament / ament/ament_cmake

ament_vendor() does not install vendor project to correct path

未关闭
#475 2 条评论 0 个 reaction 已指派 1 人 已被 @cottsay 认领 在 GitHub 查看
主要语言
CMake
星标
125
派生
147
PR 合并指标
30 天内没有已合并 PR

描述

Hi,

I'm building `ros2/rosbag2/zstd_vendor` and the cmake file is like:
```cmake
ament_vendor(zstd_vendor
SATISFIED ${zstd_FOUND}
VCS_URL https://github.com/facebook/zstd.git
VCS_VERSION v1.4.8
SOURCE_SUBDIR build/cmake
CMAKE_ARGS
-DZSTD_BUILD_STATIC:BOOL=OFF
-DZSTD_BUILD_SHARED:BOOL=ON
-DZSTD_BUILD_PROGRAMS:BOOL=OFF
)
```
but the current result is that `bin/include/lib` are installed at `C:\ros\rolling\install\opt\zstd_vendor`
![image](https://github.com/ament/ament_cmake/assets/84662027/3bbfc6af-f032-48dc-ba6d-f57355931ea8)
but by `colcon build --merge-install`, I think those 3 sub folders should be installed to `C:\ros\rolling\install`.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。