Skip to content

Commit

Permalink
find package is missing
Browse files Browse the repository at this point in the history
  • Loading branch information
TingDaoK committed Oct 10, 2024
1 parent ed2c5bf commit 4a2735c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,8 @@ if (USE_S2N)
# Prefer find_package() because it's the normal CMake way to do dependencies.
# But fall back on aws_use_package() because some projects still need to do an IN_SOURCE_BUILD of S2N.
# (e.g. aws-crt-java until this is resolved: https://github.com/awslabs/aws-crt-java/pull/817)
find_package(s2n QUIET)

if (s2n_FOUND)
list(APPEND DEP_AWS_LIBS AWS::s2n)
else()
Expand Down

0 comments on commit 4a2735c

Please sign in to comment.