Add Hunter

This commit is contained in:
Paweł Bylica 2018-04-12 11:01:01 +02:00
parent 044abea9af
commit 69a932f1c8
No known key found for this signature in database
GPG Key ID: 7A0C037434FE77EF
1 changed files with 16 additions and 0 deletions

View File

@ -1,3 +1,7 @@
# EVMC -- Ethereum Client-VM Connector API
# Copyright 2018 Pawel Bylica.
# Licensed under the MIT License. See the LICENSE file.
cmake_minimum_required(VERSION 3.5)
if(TARGET evmc)
@ -5,6 +9,18 @@ if(TARGET evmc)
return()
endif()
include(cmake/cable/bootstrap.cmake)
include(HunterGate)
include(defaults/HunterCacheServers)
# Setup Hunter.
# Hunter is going to be initialized only if building with tests,
# where it is needed to get dependencies.
HunterGate(
URL "https://github.com/ruslo/hunter/archive/v0.20.37.tar.gz"
SHA1 "51886d10428c924cc21756abc17623bcf4986386"
)
project(evmc)
add_library(evmc INTERFACE)