Skip to content

Commit

Permalink
Merge pull request #169 from ethereum/lazy-hunter
Browse files Browse the repository at this point in the history
CMake: Load Hunter only when building with EVMC_TESTING
  • Loading branch information
chfast authored Nov 10, 2018
2 parents 354ba6f + 8228d9a commit 2c2bd4b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)]
Expand Down Expand Up @@ -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
Expand Down
8 changes: 5 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 2c2bd4b

Please sign in to comment.