File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -160,6 +160,8 @@ option(CURL_DISABLE_SMTP "to disable SMTP" OFF)
160160mark_as_advanced (CURL_DISABLE_SMTP)
161161option (CURL_DISABLE_GOPHER "to disable Gopher" OFF )
162162mark_as_advanced (CURL_DISABLE_GOPHER)
163+ option (CURL_DISABLE_SMB "disables SMB" OFF )
164+ mark_as_advanced (CURL_DISABLE_SMB)
163165
164166if (HTTP_ONLY)
165167 set (CURL_DISABLE_FTP ON )
@@ -174,6 +176,7 @@ if(HTTP_ONLY)
174176 set (CURL_DISABLE_IMAP ON )
175177 set (CURL_DISABLE_SMTP ON )
176178 set (CURL_DISABLE_GOPHER ON )
179+ set (CURL_DISABLE_SMB ON )
177180endif ()
178181
179182option (CURL_DISABLE_COOKIES "to disable cookies support" OFF )
@@ -1240,6 +1243,7 @@ _add_if("SCP" USE_LIBSSH2)
12401243_add_if("SFTP" USE_LIBSSH2)
12411244_add_if("RTSP" NOT CURL_DISABLE_RTSP)
12421245_add_if("RTMP" USE_LIBRTMP)
1246+ _add_if("SMB" NOT CURL_DISABLE_SMB)
12431247if (_items)
12441248 list (SORT _items)
12451249endif ()
You can’t perform that action at this time.
0 commit comments