Fix CMakeList summary glitch
@@ -98,9 +98,10 @@ if(ENABLE_OPENSSL AND OPENSSL_FOUND)
endif()
if(ENABLE_OPENSSL AND HAVE_SSL_IS_QUIC)
set(OPENSSL_INCLUDE_DIRS ${OPENSSL_INCLUDE_DIR})
- set(HAVE_OPENSSL 1)
- set(HAVE_CRYPTO 1)
+ set(HAVE_OPENSSL TRUE)
+ set(HAVE_CRYPTO TRUE)
else()
+ set(HAVE_OPENSSL FALSE)
set(OPENSSL_INCLUDE_DIRS "")
set(OPENSSL_LIBRARIES "")
endif()
@@ -118,9 +119,10 @@ if(ENABLE_BORINGSSL)
endif()
if(ENABLE_BORINGSSL AND HAVE_SSL_SET_QUIC_EARLY_DATA_CONTEXT)
set(BORINGSSL_INCLUDE_DIRS ${BORINGSSL_INCLUDE_DIR})
- set(HAVE_BORINGSSL 1)
- set(HAVE_CRYPTO 1)
+ set(HAVE_BORINGSSL TRUE)
+ set(HAVE_CRYPTO TRUE)
else()
+ set(HAVE_BORINGSSL FALSE)
set(BORINGSSL_INCLUDE_DIRS "")
set(BORINGSSL_LIBRARIES "")
endif()
@@ -133,9 +135,10 @@ set(HAVE_LIBNGHTTP3 ${LIBNGHTTP3_FOUND})
# GnuTLS (required for libngtcp2_crypto_gnutls)
if(ENABLE_GNUTLS AND GNUTLS_FOUND)
set(GNUTLS_INCLUDE_DIRS ${GNUTLS_INCLUDE_DIR})
- set(HAVE_GNUTLS 1)
- set(HAVE_CRYPTO 1)
+ set(HAVE_GNUTLS TRUE)
+ set(HAVE_CRYPTO TRUE)
else()
+ set(HAVE_GNUTLS FALSE)
set(GNUTLS_INCLUDE_DIRS "")
set(GNUTLS_LIBRARIES "")
endif()
