FindCURL¶
Find the native CURL headers and libraries.
This module accept optional COMPONENTS to check supported features and protocols:
PROTOCOLS: ICT FILE FTP FTPS GOPHER HTTP HTTPS IMAP IMAPS LDAP LDAPS POP3
POP3S RTMP RTSP SCP SFTP SMB SMBS SMTP SMTPS TELNET TFTP
FEATURES: SSL IPv6 UnixSockets libz AsynchDNS IDN GSS-API PSL SPNEGO
Kerberos NTLM NTLM_WB TLS-SRP HTTP2 HTTPS-proxy
Result Variables¶
This module defines the following variables:
CURL_FOUND“True” if
curlfound.CURL_INCLUDE_DIRSwhere to find
curl/curl.h, etc.CURL_LIBRARIESList of libraries when using
curl.CURL_VERSION_STRINGThe version of
curlfound.
CURL CMake¶
If CURL was built using the CMake buildsystem then it provides its own
CURLConfig.cmake file for use with the find_package() command’s
config mode. This module looks for this file and, if found,
returns its results with no further action.
Set CURL_NO_CURL_CMAKE to ON to disable this search.