summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorRaphael Gozzo <raphael.rg91@gmail.com>2018-06-17 13:26:44 -0300
committerDaniel Stenberg <daniel@haxx.se>2018-06-21 09:48:26 +0200
commit59b284b6ebdda679e9fa6bb549015f994f4e79c8 (patch)
treeacd70cf80e6e6379115a7ff613d4c0507657a386 /CMakeLists.txt
parent2c15693a3c355d8296a1828123a864397296460b (diff)
downloadcurl-59b284b6ebdda679e9fa6bb549015f994f4e79c8.tar.gz
cmake: allow multiple SSL backends
This will make possible to select the SSL backend (using curl_global_sslset()) even when the libcurl is built using CMake Closes #2665
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7d7d76cd8..faa9bddd9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -316,7 +316,7 @@ collect_true(enabled_ssl_options enabled_ssl_options_count
CMAKE_USE_MBEDTLS
)
if(enabled_ssl_options_count GREATER 1)
- message(FATAL_ERROR "Multiple SSL options specified: ${enabled_ssl_options}. Please pick at most one and disable the rest.")
+ set(CURL_WITH_MULTI_SSL ON)
endif()
if(CMAKE_USE_WINSSL)