mirror of
https://github.com/kakwa/uts-server
synced 2025-07-15 14:10:05 +02:00
fix matching of OpenSSL version
This commit is contained in:
parent
dbe37d9b18
commit
e708987872
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue