blob: 708e13d413c2045b027cd441b56bd07015725393 [file] [log] [blame]
# 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
#
# http://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.
# This template is used by http_archive() to download, unpack and configure Tink
# dependencies. You shouldn't need to use it directly.
cmake_minimum_required(VERSION 3.5)
project(http-archive-${http_archive_NAME})
include(ExternalProject)
ExternalProject_Add(${http_archive_NAME}
URL "${http_archive_URL}"
URL_HASH SHA256=${http_archive_SHA256}
TLS_VERIFY true
SOURCE_DIR "${http_archive_SOURCE_DIR}"
BINARY_DIR "${http_archive_BINARY_DIR}"
SOURCE_SUBDIR "${http_archive_CMAKE_SUBDIR}"
CMAKE_ARGS ${http_archive_CMAKE_ARGS}
CONFIGURE_COMMAND ""
BUILD_COMMAND ""
TEST_COMMAND ""
INSTALL_COMMAND ""
${http_archive_EXTRA_OPTIONS}
EXCLUDE_FROM_ALL
)