Improve cmake logging
Ensure "Using libcrypto from the cmake path." is printed as STATUS and adds a log output for the interning feature.
@@ -497,10 +497,14 @@ if (TARGET crypto)
set(LINK_LIB "crypto")
else()
find_package(crypto REQUIRED)
- message("Using libcrypto from the cmake path.")
+ message(STATUS "Using libcrypto from the cmake path")
set(LINK_LIB "AWS::crypto")
endif()
+if (S2N_INTERN_LIBCRYPTO)
+ message(STATUS "Enabling libcrypto interning")
+endif()
+
# Determine if EVP_md5_sha1 is available in libcrypto
try_compile(
LIBCRYPTO_SUPPORTS_EVP_MD5_SHA1_HASH
