Commit Graph

2 Commits

Author SHA1 Message Date
Paweł Wegner
9cf4835a54
curl: fix consuming curl via find_package. (#29741)
The commit [1] broke consuming curl for downstream projects:

CMake Error at cmake-build-debug/vcpkg_installed/x64-windows-static/share/curl/CURLTargets.cmake:61 (set_target_properties):
  The link interface of target "CURL::libcurl" contains:

    c-ares::cares

  but the target was not found.  Possible reasons include:

    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.

[1]: c9eb3bd14e
2023-03-01 10:58:55 -08:00
Lily Wang
c9eb3bd14e
[curl] Use find_package c-ares provided by vcpkg (#29350)
* [curl] Use find_package c-ares provided by vcpkg

* update version

---------

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2023-02-02 16:52:18 -08:00