diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index aad7bb7..bd3e22b 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -21,7 +21,7 @@ option(UHTTPD_USE_OPENSSL "Force select OpenSSL" OFF) option(UHTTPD_USE_WOLFSSL "Force select WolfSSL(CyaSSL)" OFF) option(UHTTPD_USE_MBEDTLS "Force select MbedTLS(PolarSSL)" OFF) -set(SSL_NAME OFF) +set(SSL_NAME "") set(UHTTPD_HAVE_OPENSSL_CONFIG 0) set(UHTTPD_HAVE_WOLFSSL_CONFIG 0) set(UHTTPD_HAVE_MBEDTLS_CONFIG 0) @@ -81,7 +81,6 @@ else() list(APPEND EXTRA_LIBS ${SSL_LIB}) message(STATUS "Select ${SSL_NAME} as the SSL backend") else() - set(SSL_NAME OFF) set(UHTTPD_SSL_SUPPORT_CONFIG 0) endif() endif()