Skip to content

Commit

Permalink
CMake: Load Hunter only when building with EVMC_TESTING
Browse files Browse the repository at this point in the history
  • Loading branch information
chfast committed Nov 10, 2018
1 parent 354ba6f commit 0b17831
Showing 1 changed file with 5 additions and 3 deletions.
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 0b17831

Please sign in to comment.