On Tue, 20 Jun 2023, Michael Hartmann via curl-library wrote:
The file "docs/INSTALL.cmake" mentions that it's currently not possible to build libcurl with cmake and disable specific protocols. We only need HTTP/S right now, so is there no way? We're trying to keep our binary as small as possible, so building without FTP, IMAP, etc., would be helpful.
Use configure instead? It is more feature complete and offers more flexibility.
Otherwise you can disable most protocols by making sure "CURL_DISABLE_[scheme]" are defined for the protocols you don't want included.
-- / daniel.haxx.se | Commercial curl support up to 24x7 is available! | Private help, bug fixes, support, ports, new features | https://curl.se/support.html -- Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library Etiquette: https://curl.se/mail/etiquette.html
