abseil / abseil/abseil-cpp

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

Aberta
#677 0 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
C++
Estrelas
18.1k
Forks
3.2k
Merge médio
20h 36min
PRs com merge (30d)
1

Descrição

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.

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.