Skip to content

Commit

Permalink
Use prebuilt aws-lc
Browse files Browse the repository at this point in the history
  • Loading branch information
sfodagain committed Aug 8, 2024
1 parent 44098c3 commit 9530b87
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,10 @@ else ()
elseif(NOT USE_OPENSSL AND IN_SOURCE_BUILD)
if (TARGET crypto)
message(STATUS "Using libcrypto from AWS-LC")
elseif(aws-lc-PREBUILT)
message(STATUS "Using prebuilt libcrypto from AWS-LC")
find_package(crypto REQUIRED)
set(PLATFORM_LIBS AWS::crypto)
else()
message(FATAL_ERROR "Target crypto is not defined, failed to find libcrypto.")
endif()
Expand Down

0 comments on commit 9530b87

Please sign in to comment.