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
..