From 69a932f1c81d1a4dbb42743a667530c73e029cf5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Bylica?= Date: Thu, 12 Apr 2018 11:01:01 +0200 Subject: [PATCH] Add Hunter --- CMakeLists.txt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 45a294f..89b0169 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)