Skip to content

Commit

Permalink
Try pulling new dependencies from hunter
Browse files Browse the repository at this point in the history
  • Loading branch information
rbsheth committed Aug 13, 2020
1 parent 67e0674 commit 04fd103
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ cmake_minimum_required(VERSION 3.0)

include(cmake/HunterGate.cmake)
HunterGate(
URL "https://github.com/ruslo/hunter/archive/v0.23.80.tar.gz"
SHA1 "3bfa8be33ac3bdac570312ca1ece33059cc71c20"
URL "https://github.com/cpp-pm/hunter/archive/v0.23.264.tar.gz"
SHA1 "45ab668f0923fc3ace807a34d971e34ce7428dfd"
LOCAL
)

Expand Down
1 change: 1 addition & 0 deletions cmake/abseil-cpp.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ if(gRPC_ABSL_PROVIDER STREQUAL "module")
endif()
elseif(gRPC_ABSL_PROVIDER STREQUAL "package")
# Use "CONFIG" as there is no built-in cmake module for absl.
hunter_add_package(abseil)
find_package(absl REQUIRED CONFIG)
set(_gRPC_FIND_ABSL "if(NOT absl_FOUND)\n find_package(absl CONFIG)\nendif()")
endif()
1 change: 1 addition & 0 deletions cmake/re2.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ if(gRPC_RE2_PROVIDER STREQUAL "module")
set(gRPC_INSTALL FALSE)
endif()
elseif(gRPC_RE2_PROVIDER STREQUAL "package")
hunter_add_package(re2)
find_package(re2 REQUIRED CONFIG)

if(TARGET re2::re2)
Expand Down

0 comments on commit 04fd103

Please sign in to comment.