Merge branch 'flagarde-patch-1'

This commit is contained in:
Benjamin Sergeant 2020-07-06 18:31:05 -07:00
commit de6acfe54e

View File

@ -180,10 +180,8 @@ if (USE_TLS)
# set(CMAKE_INCLUDE_PATH ${CMAKE_INCLUDE_PATH} /opt/local/include/openssl-1.0) # set(CMAKE_INCLUDE_PATH ${CMAKE_INCLUDE_PATH} /opt/local/include/openssl-1.0)
endif() endif()
# This OPENSSL_FOUND check is to help find a cmake manually configured OpenSSL # Use OPENSSL_ROOT_DIR CMake variable if you need to use your own openssl
if (NOT OPENSSL_FOUND) find_package(OpenSSL REQUIRED)
find_package(OpenSSL REQUIRED)
endif()
message(STATUS "OpenSSL: " ${OPENSSL_VERSION}) message(STATUS "OpenSSL: " ${OPENSSL_VERSION})
add_definitions(${OPENSSL_DEFINITIONS}) add_definitions(${OPENSSL_DEFINITIONS})