Kai Pastor 7bb00fe8b5
[c-ares] Fix usage (#24385)
* Minor changes

* Guard creation of imported lib

* Add usage

* Update versions
2022-04-27 18:59:20 -07:00

5 lines
139 B
Plaintext

The package c-ares provides CMake targets:
find_package(c-ares CONFIG REQUIRED)
target_link_libraries(main PRIVATE c-ares::cares)