CMake: Load Hunter only when building with EVMC_TESTING

This commit is contained in:
Paweł Bylica 2018-11-10 23:01:48 +01:00
parent 354ba6f540
commit 0b17831fa0
No known key found for this signature in database
GPG Key ID: 7A0C037434FE77EF
1 changed files with 5 additions and 3 deletions

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)