mirror of
https://github.com/kakwa/uts-server
synced 2025-01-10 13:44:29 +01:00
fix matching of OpenSSL version
This commit is contained in:
parent
dbe37d9b18
commit
e708987872
@ -30,7 +30,7 @@ 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}")
|
||||||
|
|
||||||
if(${OPENSSL_VERSION} VERSION_GREATER 1.0.1)
|
if(${OPENSSL_VERSION} VERSION_GREATER 1.0.99)
|
||||||
set(OPENSSL_API_1_1 ON)
|
set(OPENSSL_API_1_1 ON)
|
||||||
else()
|
else()
|
||||||
set(OPENSSL_API_1_1 OFF)
|
set(OPENSSL_API_1_1 OFF)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user