abseil / abseil/abseil-cpp

Does Conan package need to provide the library with 'absl' name?

オープン
#677 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
C++
スター
18.1k
フォーク
3.2k
平均マージ
20時間 36分
マージ済み PR(30日)
1

説明

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.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。