diff --git a/CMakeLists.txt b/CMakeLists.txt index eba5dad..d54cf6e 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -20,12 +20,14 @@ elseif(NOT CMAKE_BUILD_TYPE) CACHE STRING "Choose the type of build." FORCE) endif() message(STATUS "Build mode: ${CMAKE_BUILD_TYPE}") +message(STATUS "OPENSSL_DIR: $ENV{OPENSSL_DIR}") # https://cmake.org/cmake/help/v3.6/module/FindOpenSSL.html if(NOT "$ENV{OPENSSL_DIR}" STREQUAL "") set(OPENSSL_ROOT_DIR $ENV{OPENSSL_DIR}) set(OPENSSL_INCLUDE_DIR "$ENV{OPENSSL_DIR}/include") set(OPENSSL_LIB $ENV{OPENSSL_DIR}) + message(STATUS "OPENSSL_ROOT_DIR: ${OPENSSL_ROOT_DIR}") endif() if(DEFINED ENV{OPENSSL_LIB}) set(OPENSSL_LIB $ENV{OPENSSL_LIB})