CMake: Load Hunter only when building with EVMC_TESTING
@@ -17,11 +17,13 @@ include(cmake/cable/bootstrap.cmake)
include(CableBuildType)
include(CableCompilerSettings)
include(CMakePackageConfigHelpers)
-include(HunterGate)
include(GNUInstallDirs)
-include(defaults/HunterCacheServers)
+if(EVMC_TESTING)
+ include(HunterGate)
include(HunterConfig)
+ include(defaults/HunterCacheServers)
+endif()
project(evmc)
set(PROJECT_VERSION 6.0.0)
