diff options
author | Robert Adam <dev@robert-adam.de> | 2020-10-24 17:01:56 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-24 17:01:56 +0300 |
commit | ceb4f1afe21c711262fd4392e0050015f24a1d34 (patch) | |
tree | 68ff35b53ccf1e4fc7361ffca0539df8c4e7d682 /CMakeLists.txt | |
parent | 3f9241255335096fe389221ab1bbb90de652cfbb (diff) | |
parent | 3a8fe67ff066034fe715f4f1a4229842c0a7de0b (diff) |
Merge pull request #4509: BUILD(cmake): Fix gRPC not being found
We are using a custom FindGRPC.cmake script in order to locate the gRPC
targets as not all distribution variants of gRPC include the respective
cmake support. Those that do however will use "gRPC" (note the lowercase
"g") as the target's name and therefore our current way of searching for
it via find_pkg won't find them.
The solution is to first look for "gRPC" and only if that fails, check
for "GRPC". This way the official target "gRPC" should be found and
preferred if present.
Fixes #4508
Diffstat (limited to 'CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions