Merge pull request #29 from ethereum/disable-hunter

Disable Hunter if not needed
This commit is contained in:
Alex Beregszaszi 2018-04-23 22:32:00 +01:00 committed by GitHub
commit c633aa4c28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# EVMC -- Ethereum Client-VM Connector API
# EVMC: Ethereum Client-VM Connector API.
# Copyright 2018 Pawel Bylica.
# Licensed under the MIT License. See the LICENSE file.
@ -9,6 +9,10 @@ if(TARGET evmc)
return()
endif()
option(EVMC_BUILD_TESTS "Build EVMC tests and test tools" OFF)
option(EVMC_BUILD_EXAMPLES "Build EVMC examples" OFF)
option(HUNTER_ENABLED "Enable Hunter package manager support" "${EVMC_BUILD_TESTS}")
include(cmake/cable/bootstrap.cmake)
include(CableCompilerSettings)
include(HunterGate)
@ -33,13 +37,11 @@ target_include_directories(evmc INTERFACE include)
install(DIRECTORY include/evmc DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
option(EVMC_BUILD_TESTS "Build EVMC tests and test tools" OFF)
if(EVMC_BUILD_TESTS)
enable_testing()
add_subdirectory(test)
endif()
option(EVMC_BUILD_EXAMPLES "Build EVMC examples" OFF)
if(EVMC_BUILD_EXAMPLES)
add_subdirectory(examples)
endif()