mirror of
https://github.com/hanzoai/datastore.git
synced 2026-09-26 13:55:07 +00:00
This is to follow with https://github.com/ClickHouse/ClickHouse/issues/35630 where we shouldn't rely on external CMake files. LLVM is as of now the only exception, though.
40 lines
1.6 KiB
CMake
40 lines
1.6 KiB
CMake
# ~~~
|
|
# Copyright 2021 Google LLC
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# https://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
# ~~~
|
|
|
|
# File copied from contrib/google-cloud-cpp/cmake/GoogleapisConfig.cmake.
|
|
|
|
# Give application developers a hook to configure the version and hash
|
|
# downloaded from GitHub.
|
|
set(GOOGLE_CLOUD_CPP_GOOGLEAPIS_COMMIT_SHA
|
|
""
|
|
CACHE STRING "Deprecated. Use GOOGLE_CLOUD_CPP_OVERRIDE_GOOGLEAPIS_URL")
|
|
mark_as_advanced(GOOGLE_CLOUD_CPP_GOOGLEAPIS_COMMIT_SHA)
|
|
set(GOOGLE_CLOUD_CPP_GOOGLEAPIS_SHA256
|
|
""
|
|
CACHE STRING
|
|
"Deprecated. Use GOOGLE_CLOUD_CPP_OVERRIDE_GOOGLEAPIS_URL_HASH")
|
|
mark_as_advanced(GOOGLE_CLOUD_CPP_GOOGLEAPIS_SHA256)
|
|
|
|
set(_GOOGLE_CLOUD_CPP_GOOGLEAPIS_COMMIT_SHA
|
|
"b7c5b60ee76c4591e32c874978c6cd8231087ed6")
|
|
set(_GOOGLE_CLOUD_CPP_GOOGLEAPIS_SHA256
|
|
"f066a624a3cfd52d3c3e58c9712c0ed084bd584cb89e5dddee029cbb2d0b1796")
|
|
|
|
set(DOXYGEN_ALIASES
|
|
"googleapis_link{2}=\"[\\1](https://github.com/googleapis/googleapis/blob/${_GOOGLE_CLOUD_CPP_GOOGLEAPIS_COMMIT_SHA}/\\2)\""
|
|
"googleapis_reference_link{1}=\"https://github.com/googleapis/googleapis/blob/${_GOOGLE_CLOUD_CPP_GOOGLEAPIS_COMMIT_SHA}/\\1\""
|
|
)
|