Skip to content

Commit

Permalink
Reduce cmake min to 3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
TimEvens committed Mar 26, 2024
1 parent 621e4d2 commit e24e609
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions cmake/boringssl-adjust.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FUNCTION (BORINGSSL_ADJUST)
cmake_minimum_required(VERSION 3.14)
cmake_minimum_required(VERSION 3.3)

IF (OPENSSL_FOUND AND EXISTS "${OPENSSL_INCLUDE_DIR}/openssl/base.h")
MESSAGE(STATUS " BoringSSL found; assuming OpenSSL 1.1.1 compatibility")
Expand All @@ -13,8 +13,6 @@ FUNCTION (BORINGSSL_ADJUST)
LIST(APPEND OPENSSL_LIBRARIES "BoringSSL::decrepit")
set (OPENSSL_LIBRARIES ${OPENSSL_LIBRARIES} PARENT_SCOPE)

message("Appending decrepit: ${OPENSSL_LIBRARIES}")

else ()
LIST(GET OPENSSL_CRYPTO_LIBRARIES 0 OPENSSL_ONE_LIB_PATH)
GET_FILENAME_COMPONENT(OPENSSL_LIBDIR "${OPENSSL_ONE_LIB_PATH}" DIRECTORY)
Expand Down

0 comments on commit e24e609

Please sign in to comment.