[Support] [Debuginfod] Use libcurl imported library.
authorNoah Shutty <shutty@google.com>
Thu, 9 Dec 2021 00:51:33 +0000 (00:51 +0000)
committerNoah Shutty <shutty@google.com>
Thu, 9 Dec 2021 01:35:01 +0000 (01:35 +0000)
commit54b35c09b2cd5e068a9b2f1df461045c732b2807
treed28c93771caf4172a242a94e2eb6f06423d34dca
parentd0022a7250fa6c32b91016698505d964123759a4
[Support] [Debuginfod] Use libcurl imported library.

A [[ https://lists.llvm.org/pipermail/llvm-dev/2021-December/154203.html | report on llvm-dev ]] indicated that `curl.h` could be found during build configuration but not during compilation. This diff uses the libcurl imported library created by findcurl, so that includes and libs are automatically managed correctly by cmake.

Reviewed By: phosek

Differential Revision: https://reviews.llvm.org/D115189
llvm/lib/Debuginfod/CMakeLists.txt