blob: 9316aca2bc74b648a4376fcbed2c22f526ca0ebf [file] [log] [blame]
Raef Coles19715382020-07-10 09:50:17 +01001#-------------------------------------------------------------------------------
2# Copyright (c) 2020, Arm Limited. All rights reserved.
Chris Brand2e5af6e2022-07-05 11:15:17 -07003# Copyright (c) 2022 Cypress Semiconductor Corporation (an Infineon company)
4# or an affiliate of Cypress Semiconductor Corporation. All rights reserved.
Raef Coles19715382020-07-10 09:50:17 +01005#
6# SPDX-License-Identifier: BSD-3-Clause
7#
8#-------------------------------------------------------------------------------
9
Chris Brand2e5af6e2022-07-05 11:15:17 -070010fetch_remote_library(
11 LIB_NAME mbedcrypto
12 LIB_SOURCE_PATH_VAR MBEDCRYPTO_PATH
13 LIB_PATCH_DIR ${CMAKE_CURRENT_LIST_DIR}
14 FETCH_CONTENT_ARGS
15 GIT_REPOSITORY ${MBEDCRYPTO_GIT_REMOTE}
16 GIT_TAG ${MBEDCRYPTO_VERSION}
17 GIT_SHALLOW TRUE
18 GIT_PROGRESS TRUE
19 GIT_SUBMODULES ""
20)