Skip to content

Commit

Permalink
Issue #34: lower required OpenSSL version on Linux to pass CI
Browse files Browse the repository at this point in the history
  • Loading branch information
wdobbe committed Oct 30, 2019
1 parent aed6ab1 commit fb874bd
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,12 @@ IF (OPENSSL_INCLUDE_DIRS AND OPENSSL_LIBRARY_DIRS AND OPENSSL_LIBRARIES)
INCLUDE_DIRECTORIES(${OPENSSL_INCLUDE_DIRS})
LINK_DIRECTORIES (${OPENSSL_LIBRARY_DIRS})
ELSE()
set(OPENSSL_MINIM_VERSION "1.1.0")
if ("${CMAKE_SYSTEM_NAME}" STREQUAL "Linux")
#Lower OpenSSL version for Linux because 1.1.0 not available on CI machine
set(OPENSSL_MINIM_VERSION "1.0.1")
else()
set(OPENSSL_MINIM_VERSION "1.1.0")
endif()
MESSAGE(STATUS "No version of OpenSSL provided, searching for v${OPENSSL_MINIM_VERSION}")
IF(APPLE)
# If it doesn't go to any Cellar it will not work.
Expand Down

0 comments on commit fb874bd

Please sign in to comment.