curlpp
curlpp copied to clipboard
Fix getting CURL via FetchContent
The REQUIRED
flag in find_package
is stops CMake generation, if library not found. Also, fixed variables CURL_INCLUDE_DIRS
and CURL_LIBRARIES
, what uses next.
CURL from FetchContent configured to build static library, because I think users don't want to search dynamic library in _deps
folder, when system CURL is missing.