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)