Add comments for this change in CMake

This commit is contained in:
Xiaoge Su 2023-03-08 16:44:19 -08:00
parent d618a7777c
commit 3a34ee7a53
1 changed files with 3 additions and 0 deletions

View File

@ -21,6 +21,9 @@ endif()
################################################################################
set(CMAKE_REQUIRED_INCLUDES ${OPENSSL_INCLUDE_DIR})
# Statically link OpenSSL to FDB, see
# https://cmake.org/cmake/help/v3.24/module/FindOpenSSL.html
# Without the flags, OpenSSL is dynamically linked.
set(OPENSSL_USE_STATIC_LIBS TRUE)
if (WIN32)
set(OPENSSL_MSVC_STATIC_RT ON)