blob: 34d93d4a3c67194bccd0c8bde5dbbcd69d7760ac [file] [log] [blame]
Raef Coles19715382020-07-10 09:50:17 +01001#-------------------------------------------------------------------------------
2# Copyright (c) 2020, Arm Limited. All rights reserved.
Chris Brand19bf2742022-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 Brand19bf2742022-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}
Joakim Andersson083ebe42023-01-18 12:00:36 +010014 LIB_FORCE_PATCH ${MBEDCRYPTO_FORCE_PATCH}
Chris Brand19bf2742022-07-05 11:15:17 -070015 FETCH_CONTENT_ARGS
16 GIT_REPOSITORY ${MBEDCRYPTO_GIT_REMOTE}
17 GIT_TAG ${MBEDCRYPTO_VERSION}
18 GIT_SHALLOW TRUE
19 GIT_PROGRESS TRUE
20 GIT_SUBMODULES ""
21)