Skip to content

Commit

Permalink
fix: use existing openssl 1.1 installation if found
Browse files Browse the repository at this point in the history
  • Loading branch information
maxirmx committed Feb 19, 2025
1 parent 4f01650 commit 197ddad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmake-scripts/setup-openssl-1.1.1.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ if(OPENSSL_RES EQUAL 0)
message(STATUS "Found OpenSSL version ${OPENSSL_VER} at ${DEPS}/bin/openssl")
if((${OPENSSL_VER} VERSION_GREATER_EQUAL "1.1.0") AND (${OPENSSL_VER} VERSION_LESS "3.0.0"))
set(WITH_OPENSSL_BUILD OFF)
set(OPENSSL_ROOT_DIR "${DEPS}")
endif((${OPENSSL_VER} VERSION_GREATER_EQUAL "1.1.0") AND (${OPENSSL_VER} VERSION_LESS "3.0.0"))
endif(OPENSSL_RES EQUAL 0)

Expand Down

0 comments on commit 197ddad

Please sign in to comment.