Skip to content

Commit 5c9007f

Browse files
author
Ravbug
committed
remove curl because no feature uses it anymore
1 parent 4c448e6 commit 5c9007f

File tree

560 files changed

+6
-303691
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

560 files changed

+6
-303691
lines changed

CMakeLists.txt

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -40,42 +40,11 @@ set(wxUSE_LIBTIFF OFF CACHE INTERNAL "")
4040
set(wxUSE_ZLIB builtin CACHE INTERNAL "")
4141
add_subdirectory("wxWidgets" EXCLUDE_FROM_ALL)
4242

43-
# libcurl
44-
if (MSVC)
45-
# use Windows native SSL instead of OpenSSL or MbedTLS
46-
set(CURL_USE_SCHANNEL ON CACHE INTERNAL "")
47-
else()
48-
# for curl SSL
49-
set(ENABLE_TESTING OFF CACHE INTERNAL "")
50-
set(ENABLE_PROGRAMS OFF CACHE INTERNAL "")
51-
set(CURL_USE_MBEDTLS ON CACHE INTERNAL "")
52-
add_subdirectory(mbedtls EXCLUDE_FROM_ALL)
53-
set(MBEDTLS_LIBRARIES "mbedtls")
54-
endif()
55-
set(BUILD_TESTING OFF)
56-
set(USE_OPENSSL OFF)
57-
set(CURL_USE_LIBSSH2 OFF)
58-
set(CURL_DISABLE_FTP ON) # disable unused features & protocols
59-
set(CURL_DISABLE_FILE ON)
60-
set(CURL_DISABLE_TELNET ON)
61-
set(CURL_DISABLE_LDAP ON)
62-
set(CURL_DISABLE_DICT ON)
63-
set(CURL_DISABLE_TFTP ON)
64-
set(CURL_DISABLE_GOPHER ON)
65-
set(CURL_DISABLE_IMAP ON)
66-
set(CURL_DISABLE_SMB ON)
67-
set(CURL_DISABLE_SMTP ON)
68-
set(CURL_DISABLE_RTSP ON)
69-
set(CURL_DISABLE_MQTT ON)
70-
set(CURL_DISABLE_POP3 ON)
71-
add_subdirectory(curl EXCLUDE_FROM_ALL)
72-
7343
add_subdirectory("fmt" EXCLUDE_FROM_ALL)
7444

7545
target_link_libraries("${PROJECT_NAME}"
7646
PUBLIC
7747
wx::core
78-
CURL::libcurl
7948
fmt
8049
)
8150
target_include_directories(${PROJECT_NAME} PUBLIC "fmt/include")

0 commit comments

Comments
 (0)