mirror of
https://github.com/kakwa/uts-server
synced 2024-12-04 23:15:54 +01:00
slight reordering of messages in cmake (cosmetic)
This commit is contained in:
parent
61b9f2819a
commit
0ec6b0966a
@ -50,15 +50,15 @@ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DUTS_VERSION='\"${VERSION}\"'")
|
||||
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/cmake/")
|
||||
|
||||
find_package(OpenSSL REQUIRED)
|
||||
find_package(LibreSSL)
|
||||
|
||||
MESSAGE(STATUS "OpenSSL include dir: ${OPENSSL_INCLUDE_DIR}")
|
||||
MESSAGE(STATUS "OpenSSL libraries: ${OPENSSL_LIBRARIES}")
|
||||
MESSAGE(STATUS "OpenSSL version: ${OPENSSL_VERSION}")
|
||||
MESSAGE(STATUS "LibreSSL Detected: ${IS_LIBRESSL}")
|
||||
MESSAGE(STATUS "OS Detected: ${CMAKE_SYSTEM_NAME}")
|
||||
|
||||
|
||||
find_package(LibreSSL)
|
||||
MESSAGE(STATUS "LibreSSL Detected: ${IS_LIBRESSL}")
|
||||
|
||||
if(NOT(DEFINED OPENSSL_API_1_1))
|
||||
if(${OPENSSL_VERSION} VERSION_GREATER 1.0.99 AND NOT(IS_LIBRESSL))
|
||||
set(OPENSSL_API_1_1 ON)
|
||||
|
Loading…
Reference in New Issue
Block a user