abedra / libvault

A C++ library for Hashicorp Vault
MIT License
34 stars 25 forks source link

Use the official Cmake target for libcurl #123

Closed uilianries closed 5 months ago

uilianries commented 5 months ago

Hello,

This PR has the intention of improving the way how libvault searches and link to libcurl, by using CMake 3.x target feature.

Following the FindCURL page in CMake org, the CMake target CURL::libcurl

Plus, adding the keyword REQUIRED, means CMake will fail in case not finding libcurl.

abedra commented 5 months ago

Thank you!