From e70898787229dbb2da46c8aed531a95207d7d858 Mon Sep 17 00:00:00 2001 From: kakwa Date: Thu, 26 Jan 2017 23:26:39 +0100 Subject: [PATCH] fix matching of OpenSSL version --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9aea4ee..a1cec41 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)