Skip to content

Commit

Permalink
Merge pull request UCL#54 from jenshnielsen/addgbenchversion
Browse files Browse the repository at this point in the history
Add new pseudorelease of gbenchmark from ucl spack
  • Loading branch information
Mayeul d'Avezac authored Sep 21, 2016
2 parents 5a76d7d + 4f87919 commit f95f546
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions hunter_recipes/projects/GBenchmark/hunter.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,17 @@ hunter_add_version(
4f778985dce02d2e63262e6f388a24b595254a93
)

hunter_add_version(
PACKAGE_NAME
GBenchmark
VERSION
"1.1.0"
URL
"https://github.com/mdavezac/benchmark/archive/v1.1.0.tar.gz"
SHA1
772372564531dc0023037367a122391326bd1dc0
)

hunter_cmake_args(GBenchmark CMAKE_ARGS BENCHMARK_ENABLE_TESTING=OFF)
hunter_configuration_types(GBenchmark CONFIGURATION_TYPES Release)
# Pick a download scheme
Expand Down
2 changes: 1 addition & 1 deletion scripts/AddHunter.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ macro(initialize_hunter)
if(NOT HUNTER_ROOT AND "$ENV{HUNTER_ROOT}" STREQUAL "")
set(HUNTER_ROOT "${ih_HUNTER_ROOT}" CACHE PATH "Hunter root dir")
endif()
HunterGate(URL ${ih_URL} SHA1 ${ih_SHA1})
HunterGate(URL ${ih_URL} SHA1 ${ih_SHA1} ${ih_UNPARSED_ARGUMENTS})
if(NOT ih_NO_COOKOFF_RECIPES)
set(HUNTER_REPOSITORY_cookoff_DIRECTORY ${GREAT_CMAKE_COOKOFF_HUNTER_RECIPES_DIR})
set(HUNTER_REPOSITORY_cookoff_URL "local")
Expand Down

0 comments on commit f95f546

Please sign in to comment.