Skip to content

Commit 102015e

Browse files
Update deps fix cmake templates (aws#94)
* Updated dependencies to latest, fixed cmake template files. * Don't need the finder module updates anymore. * Update aws-c-io for new libcrypto dependency mess, and pull in some minor bug fixes from s2n. * Make sure tests don't get built accidentally this time.
1 parent 1f045a1 commit 102015e

File tree

10 files changed

+14
-13
lines changed

10 files changed

+14
-13
lines changed

CMakeLists.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,11 @@ if (BUILD_DEPS)
4646
include(AwsFindPackage)
4747

4848
set(IN_SOURCE_BUILD ON)
49-
set(BUILD_TESTING_PREV BUILD_TESTING)
49+
set(BUILD_TESTING_PREV ${BUILD_TESTING})
5050
set(BUILD_TESTING OFF)
5151
add_subdirectory(aws-common-runtime/aws-c-common)
5252

5353
if (UNIX AND NOT APPLE)
54-
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/aws-common-runtime/s2n/cmake/modules")
55-
find_package(LibCrypto REQUIRED)
5654
add_subdirectory(aws-common-runtime/s2n)
5755
endif()
5856

@@ -62,7 +60,7 @@ if (BUILD_DEPS)
6260
add_subdirectory(aws-common-runtime/aws-c-http)
6361
add_subdirectory(aws-common-runtime/aws-c-auth)
6462
add_subdirectory(aws-common-runtime/aws-c-mqtt)
65-
set(BUILD_TESTING BUILD_TESTING_PREV)
63+
set(BUILD_TESTING ${BUILD_TESTING_PREV})
6664
else()
6765
include(AwsFindPackage)
6866
set(IN_SOURCE_BUILD OFF)
@@ -210,6 +208,9 @@ aws_use_package(aws-c-http)
210208
aws_use_package(aws-c-mqtt)
211209
aws_use_package(aws-c-cal)
212210
aws_use_package(aws-c-auth)
211+
aws_use_package(aws-c-common)
212+
aws_use_package(aws-c-io)
213+
213214
target_link_libraries(${PROJECT_NAME} ${DEP_AWS_LIBS})
214215

215216
install(FILES ${AWS_CRT_HEADERS} DESTINATION "include/aws/crt" COMPONENT Development)

aws-common-runtime/s2n

Submodule s2n updated from b4e5153 to a977c44

tests/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ add_test_case(SHA256ResourceSafety)
2121
add_test_case(MD5ResourceSafety)
2222
add_test_case(SHA256HMACResourceSafety)
2323
add_net_test_case(HttpDownloadNoBackPressure)
24-
add_test_case(IotPublishSubscribe)
24+
add_net_test_case(IotPublishSubscribe)
2525
add_net_test_case(HttpClientConnectionManagerResourceSafety)
2626
add_net_test_case(HttpClientConnectionWithPendingAcquisitions)
2727
add_net_test_case(HttpClientConnectionWithPendingAcquisitionsAndClosedConnections)

0 commit comments

Comments
 (0)