curlpp icon indicating copy to clipboard operation
curlpp copied to clipboard

Fix getting CURL via FetchContent

Open sr-tream opened this issue 1 year ago • 0 comments

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.

sr-tream avatar Sep 25 '23 23:09 sr-tream