diff --git a/native/CMakeLists.txt b/native/CMakeLists.txt index d150e72..796063c 100644 --- a/native/CMakeLists.txt +++ b/native/CMakeLists.txt @@ -66,15 +66,15 @@ if (BUILD_DEPS) # s2n-tls uses libcrypto during its configuration, so we need to prebuild aws-lc. aws_prebuild_dependency( - DEPENDENCY_NAME aws-lc - SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/crt/aws-lc + DEPENDENCY_NAME AWSLC + SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../crt/aws-lc CMAKE_ARGUMENTS ${AWSLC_CMAKE_ARGUMENTS} ) # prebuild s2n-tls. aws_prebuild_dependency( - DEPENDENCY_NAME s2n - SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/crt/s2n + DEPENDENCY_NAME S2N + SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../crt/s2n CMAKE_ARGUMENTS -DUNSAFE_TREAT_WARNINGS_AS_ERRORS=OFF -DBUILD_TESTING=OFF