macOS - Build cURL with SSH Support

The version of cURL that comes with macOS does not contain libssh2 support; nor does the one from Homebrew. That is of course unless you specifically tell it to build with libssh2 support.

1
brew install libssh2 && brew install curl --with-libssh2

For cmake:

1
CURL_LIBRARY=/usr/local/opt/curl/lib/libcurl.a CURL_INCLUDE_DIR=/usr/local/opt/curl/include cmake