Skip to content
Permalink
Browse files

Revert "cmake: add SMB to list of disabled protocols if HTTP_ONLY is …

…specified"

This reverts commit 36738ca.

Apparently several of the appveyor windows builds broke.
  • Loading branch information...
bagder committed Jun 11, 2019
1 parent 36738ca commit 48016832dc179a6cfd819bb7925f4723904eaaaa
Showing with 0 additions and 4 deletions.
  1. +0 −4 CMakeLists.txt
@@ -160,8 +160,6 @@ option(CURL_DISABLE_SMTP "to disable SMTP" OFF)
mark_as_advanced(CURL_DISABLE_SMTP)
option(CURL_DISABLE_GOPHER "to disable Gopher" OFF)
mark_as_advanced(CURL_DISABLE_GOPHER)
option(CURL_DISABLE_SMB "disables SMB" OFF)
mark_as_advanced(CURL_DISABLE_SMB)

if(HTTP_ONLY)
set(CURL_DISABLE_FTP ON)
@@ -176,7 +174,6 @@ if(HTTP_ONLY)
set(CURL_DISABLE_IMAP ON)
set(CURL_DISABLE_SMTP ON)
set(CURL_DISABLE_GOPHER ON)
set(CURL_DISABLE_SMB ON)
endif()

option(CURL_DISABLE_COOKIES "to disable cookies support" OFF)
@@ -1243,7 +1240,6 @@ _add_if("SCP" USE_LIBSSH2)
_add_if("SFTP" USE_LIBSSH2)
_add_if("RTSP" NOT CURL_DISABLE_RTSP)
_add_if("RTMP" USE_LIBRTMP)
_add_if("SMB" NOT CURL_DISABLE_SMB)
if(_items)
list(SORT _items)
endif()

0 comments on commit 4801683

Please sign in to comment.
You can’t perform that action at this time.