mirror of
https://github.com/kakwa/uts-server
synced 2025-01-10 05:34:29 +01:00
slight reordering of messages in cmake (cosmetic)
This commit is contained in:
parent
e4d93f6e01
commit
7fd42b2bd0
@ -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/")
|
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/cmake/")
|
||||||
|
|
||||||
find_package(OpenSSL REQUIRED)
|
find_package(OpenSSL REQUIRED)
|
||||||
|
find_package(LibreSSL)
|
||||||
|
|
||||||
MESSAGE(STATUS "OpenSSL include dir: ${OPENSSL_INCLUDE_DIR}")
|
MESSAGE(STATUS "OpenSSL include dir: ${OPENSSL_INCLUDE_DIR}")
|
||||||
MESSAGE(STATUS "OpenSSL libraries: ${OPENSSL_LIBRARIES}")
|
MESSAGE(STATUS "OpenSSL libraries: ${OPENSSL_LIBRARIES}")
|
||||||
MESSAGE(STATUS "OpenSSL version: ${OPENSSL_VERSION}")
|
MESSAGE(STATUS "OpenSSL version: ${OPENSSL_VERSION}")
|
||||||
|
MESSAGE(STATUS "LibreSSL Detected: ${IS_LIBRESSL}")
|
||||||
MESSAGE(STATUS "OS Detected: ${CMAKE_SYSTEM_NAME}")
|
MESSAGE(STATUS "OS Detected: ${CMAKE_SYSTEM_NAME}")
|
||||||
|
|
||||||
|
|
||||||
find_package(LibreSSL)
|
|
||||||
MESSAGE(STATUS "LibreSSL Detected: ${IS_LIBRESSL}")
|
|
||||||
|
|
||||||
if(NOT(DEFINED OPENSSL_API_1_1))
|
if(NOT(DEFINED OPENSSL_API_1_1))
|
||||||
if(${OPENSSL_VERSION} VERSION_GREATER 1.0.99 AND NOT(IS_LIBRESSL))
|
if(${OPENSSL_VERSION} VERSION_GREATER 1.0.99 AND NOT(IS_LIBRESSL))
|
||||||
set(OPENSSL_API_1_1 ON)
|
set(OPENSSL_API_1_1 ON)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user