Skip to content

Commit

Permalink
Merge branch 'main' into fix-test
Browse files Browse the repository at this point in the history
  • Loading branch information
waahm7 committed Oct 18, 2024
2 parents b46e587 + 4e13210 commit 11cb281
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions crt/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ include(CTest)
# (On Windows and Apple we use the default OS libraries)
if(UNIX AND NOT APPLE)
option(USE_OPENSSL "Set this if you want to use your system's OpenSSL compatible libcrypto" OFF)
include(AwsPrebuildDependency)

if(NOT USE_OPENSSL)
include(AwsPrebuildDependency)

set(AWSLC_CMAKE_ARGUMENTS
-DDISABLE_GO=ON # Build without using Go, we don't want the extra dependency
Expand All @@ -54,8 +54,14 @@ if(UNIX AND NOT APPLE)
)
endif()

set(UNSAFE_TREAT_WARNINGS_AS_ERRORS OFF CACHE BOOL "")
add_subdirectory(s2n)
# prebuild s2n-tls.
aws_prebuild_dependency(
DEPENDENCY_NAME S2N
SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/s2n
CMAKE_ARGUMENTS
-DUNSAFE_TREAT_WARNINGS_AS_ERRORS=OFF
-DBUILD_TESTING=OFF
)
endif()

add_subdirectory(aws-c-common)
Expand Down

0 comments on commit 11cb281

Please sign in to comment.