From 0b17831fa0f45f2b018886ba9905fe61e48d2e89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Bylica?= Date: Sat, 10 Nov 2018 23:01:48 +0100 Subject: [PATCH] CMake: Load Hunter only when building with EVMC_TESTING --- CMakeLists.txt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0008c1cb7..fd42b775a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)