Does Conan package need to provide the library with 'absl' name?
- Ngôn ngữ chính
- C++
- Star
- 18.1k
- Fork
- 3.2k
- Merge trung bình
- 20 giờ 36 phút
- Pull request đã merge (30 ngày)
- 1
Mô tả
https://github.com/abseil/abseil-cpp/blob/a1d6689907864974118e592ef2ac7d716c576aad/conanfile.py#L46
I am embarking on the perilous road of packaging gRPC with Conan. gRPC depends on Abseil and
looks for it as
```
abslConfig.cmake
absl-config.cmake
```
The bincrafters abseil/20200205 package contains the following lines at https://github.com/conan-io/conan-center-index/blob/da4c194576212941e63c8de3a81fa07eb02855e1/recipes/abseil/all/conanfile.py#L150
```
self.cpp_info.names["cmake_find_package"] = "absl"
self.cpp_info.names["cmake_find_package_multi"] = "absl"
```
Without those lines, my locally build Conan package from 20200225.2 tag produces:
```
abseilConfig.cmake
abseilConfigVersion.cmake
abseilTarget-release.cmake
abseilTargets.cmake
```
I understand this might be a breaking change, but I suspect there are more users of Abseil out there who call the package by absl.
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.