From 4db3cc1f72a95b1066cda8cdb9b802eb6abb4187 Mon Sep 17 00:00:00 2001 From: Lorenzo Fontana Date: Fri, 14 Aug 2020 17:43:43 +0200 Subject: [PATCH] build: fix cURL ssl compilation issues Signed-off-by: Lorenzo Fontana --- cmake/modules/cURL.cmake | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/cmake/modules/cURL.cmake b/cmake/modules/cURL.cmake index 569e74c0..72ad48f6 100644 --- a/cmake/modules/cURL.cmake +++ b/cmake/modules/cURL.cmake @@ -19,13 +19,9 @@ else() set(CURL_INCLUDE_DIR "${CURL_BUNDLE_DIR}/include/") set(CURL_LIBRARIES "${CURL_BUNDLE_DIR}/lib/.libs/libcurl.a") - if(NOT USE_BUNDLED_OPENSSL) - set(CURL_SSL_OPTION "--with-ssl") - else() - set(CURL_SSL_OPTION "--with-ssl=${OPENSSL_INSTALL_DIR}") - message(STATUS "Using bundled curl in '${CURL_BUNDLE_DIR}'") - message(STATUS "Using SSL for curl in '${CURL_SSL_OPTION}'") - endif() + set(CURL_SSL_OPTION "--with-ssl=${OPENSSL_INSTALL_DIR}") + message(STATUS "Using bundled curl in '${CURL_BUNDLE_DIR}'") + message(STATUS "Using SSL for curl in '${CURL_SSL_OPTION}'") externalproject_add( curl