Merge pull request #169 from ethereum/lazy-hunter

CMake: Load Hunter only when building with EVMC_TESTING
This commit is contained in:
Paweł Bylica 2018-11-10 23:48:54 +01:00 committed by GitHub
commit 2c2bd4b9de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 3 deletions

View File

@ -1,5 +1,11 @@
# Changelog
## [6.0.1] - unreleased
- Fixed: [[#169](https://github.com/ethereum/evmc/pull/169)]
Integration of EVMC as a CMake subproject is easier because
Hunter is not loaded unless building tests (`EVMC_TESTING=ON`) is requested.
## [6.0.0] - 2018-10-24
- Added: [[#116](https://github.com/ethereum/evmc/pull/116)]
@ -79,6 +85,7 @@
Constantinople: Storage status is reported back from `evmc_set_storage()`.
[6.0.1]: https://github.com/ethereum/evmc/compare/v6.0.0...release/6.0
[6.0.0]: https://github.com/ethereum/evmc/releases/tag/v6.0.0
[5.2.0]: https://github.com/ethereum/evmc/releases/tag/v5.2.0
[5.1.0]: https://github.com/ethereum/evmc/releases/tag/v5.1.0

View File

@ -17,11 +17,13 @@ include(cmake/cable/bootstrap.cmake)
include(CableBuildType)
include(CableCompilerSettings)
include(CMakePackageConfigHelpers)
include(HunterGate)
include(GNUInstallDirs)
include(defaults/HunterCacheServers)
include(HunterConfig)
if(EVMC_TESTING)
include(HunterGate)
include(HunterConfig)
include(defaults/HunterCacheServers)
endif()
project(evmc)
set(PROJECT_VERSION 6.0.0)