1#------------------------------------------------------------------------------- 2# Copyright (c) 2020, Arm Limited. All rights reserved. 3# Copyright (c) 2022 Cypress Semiconductor Corporation (an Infineon company) 4# or an affiliate of Cypress Semiconductor Corporation. All rights reserved. 5# 6# SPDX-License-Identifier: BSD-3-Clause 7# 8#------------------------------------------------------------------------------- 9 10fetch_remote_library( 11 LIB_NAME mbedcrypto 12 LIB_SOURCE_PATH_VAR MBEDCRYPTO_PATH 13 LIB_PATCH_DIR ${CMAKE_CURRENT_LIST_DIR} 14 LIB_FORCE_PATCH ${MBEDCRYPTO_FORCE_PATCH} 15 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 "framework" 21) 22