Skip to content

Commit

Permalink
Add jsonrpc-lean (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
xDimon authored Apr 29, 2020
2 parents 36d8b2b + 95d41a4 commit ce7f17d
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
1 change: 1 addition & 0 deletions cmake/configs/default.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,7 @@ else()
hunter_default_version(jsoncpp VERSION 1.8.0)
endif()

hunter_default_version(jsonrpc-lean VERSION 0.0.0-e7667a3d)
hunter_default_version(kNet VERSION 2.7-p1)
hunter_default_version(kagome VERSION 0.0.1)
hunter_default_version(kbproto VERSION 1.0.7)
Expand Down
32 changes: 32 additions & 0 deletions cmake/projects/jsonrpc-lean/hunter.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Copyright (c) 2016-2017, Ruslan Baratov
# Copyright (c) 2020, Soramitsu Co., Ltd.
# All rights reserved.
# SPDX-License-Identifier: Apache-2.0

# !!! DO NOT PLACE HEADER GUARDS HERE !!!

include(hunter_add_version)
include(hunter_cacheable)
include(hunter_download)
include(hunter_pick_scheme)

hunter_add_version(
PACKAGE_NAME
jsonrpc-lean
VERSION
0.0.0-e7667a3d
URL
https://github.com/xDimon/jsonrpc-lean/archive/e7667a3dadcee71617ffe359def8e7070a257b11.tar.gz
SHA1
6d47b02446e58c77e56c42f42e6a06af60bd0b9c
)

hunter_cmake_args(
jsonrpc-lean
CMAKE_ARGS
BUILD_EXAMPLES=OFF
)

hunter_pick_scheme(DEFAULT url_sha1_cmake)
hunter_cacheable(jsonrpc-lean)
hunter_download(PACKAGE_NAME jsonrpc-lean)

0 comments on commit ce7f17d

Please sign in to comment.