mirror of
https://github.com/kakwa/uts-server
synced 2024-12-04 23:15:54 +01:00
fix matching of OpenSSL version
This commit is contained in:
parent
0b15956d0c
commit
ad35f179c9
@ -30,7 +30,7 @@ MESSAGE(STATUS "OpenSSL include dir: ${OPENSSL_INCLUDE_DIR}")
|
||||
MESSAGE(STATUS "OpenSSL libraries: ${OPENSSL_LIBRARIES}")
|
||||
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)
|
||||
else()
|
||||
set(OPENSSL_API_1_1 OFF)
|
||||
|
Loading…
Reference in New Issue
Block a user