Skip to content

Commit

Permalink
fix for android build
Browse files Browse the repository at this point in the history
  • Loading branch information
sbera87 committed Nov 6, 2024
1 parent f9753a3 commit e340d27
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -116,14 +116,9 @@ if(BUILD_DEPS)
)
endif()

# prebuild s2n-tls.
aws_prebuild_dependency(
DEPENDENCY_NAME S2N
SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/crt/s2n
CMAKE_ARGUMENTS
-DUNSAFE_TREAT_WARNINGS_AS_ERRORS=OFF
-DBUILD_TESTING=OFF
)
list(INSERT CMAKE_FIND_ROOT_PATH 0 ${CMAKE_PREFIX_PATH})

add_subdirectory(crt/s2n)
endif()

add_subdirectory(crt/aws-c-sdkutils)
Expand Down

0 comments on commit e340d27

Please sign in to comment.