Restrict curl

This commit is contained in:
Maurice Heumann 2023-02-12 19:29:54 +01:00
parent 257a0c33ca
commit 39e442c953

15
deps/premake/curl.lua vendored
View File

@ -21,7 +21,20 @@ filter "toolset:msc*"
defines {
"CURL_STRICTER",
"CURL_STATICLIB",
"CURL_DISABLE_DICT",
"CURL_DISABLE_FILE",
"CURL_DISABLE_LDAP",
"CURL_DISABLE_LDAPS",
"CURL_DISABLE_FTP",
"CURL_DISABLE_GOPHER",
"CURL_DISABLE_IMAP",
"CURL_DISABLE_MQTT",
"CURL_DISABLE_POP3",
"CURL_DISABLE_RTSP",
"CURL_DISABLE_SMTP",
"CURL_DISABLE_SMB",
"CURL_DISABLE_TELNET",
"CURL_DISABLE_TFTP",
}
filter {}
end
@ -70,4 +83,4 @@ function curl.project()
kind "StaticLib"
end
table.insert(dependencies, curl)
table.insert(dependencies, curl)