Skip to content

Commit

Permalink
Update aws-c-common to v0.5.6 (#389)
Browse files Browse the repository at this point in the history
  • Loading branch information
rbsheth authored Apr 21, 2021
1 parent 2e25878 commit d384713
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmake/configs/default.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ hunter_default_version(asio VERSION 1.17.0-p0)
hunter_default_version(astc-encoder VERSION 2.0-ab16aaa-p0)
hunter_default_version(autobahn-cpp VERSION 0.2.0)
hunter_default_version(autoutils VERSION 0.3.0)
hunter_default_version(aws-c-common VERSION 0.2.1-p0)
hunter_default_version(aws-c-common VERSION 0.5.6)
hunter_default_version(basis_universal VERSION 1.12-f80f8dd-p2)
hunter_default_version(benchmark VERSION 1.5.0)
hunter_default_version(bento4 VERSION 1.5.1-628-e6ee435-p0)
Expand Down
11 changes: 11 additions & 0 deletions cmake/projects/aws-c-common/hunter.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,17 @@ hunter_add_version(
65cf17a47d77054a4c043ef9c59978c872f8ed3d
)

hunter_add_version(
PACKAGE_NAME
aws-c-common
VERSION
0.5.6
URL
"https://github.com/awslabs/aws-c-common/archive/refs/tags/v0.5.6.tar.gz"
SHA1
a8abc1a41e78da167f2760ab538272d1014fd04c
)

hunter_pick_scheme(DEFAULT url_sha1_cmake)
hunter_cacheable(aws-c-common)
hunter_download(PACKAGE_NAME aws-c-common)
5 changes: 4 additions & 1 deletion examples/aws-c-common/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2016-2018, Ruslan Baratov
# Copyright (c) 2016-2020, Ruslan Baratov, Rahul Sheth
# All rights reserved.

cmake_minimum_required(VERSION 3.2)
Expand All @@ -13,7 +13,10 @@ project(download-aws-c-common)
hunter_add_package(aws-c-common)

find_package(aws-c-common CONFIG REQUIRED)

# To use exported modules
get_filename_component(AWS_CMAKE_MODULE_PATH "${aws-c-common_DIR}/../../cmake" ABSOLUTE)
list(APPEND CMAKE_MODULE_PATH "${AWS_CMAKE_MODULE_PATH}")
include(AwsSIMD)

add_executable(boo boo.cpp)
Expand Down

0 comments on commit d384713

Please sign in to comment.