aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/ext/mbedcrypto/CMakeLists.txt4
-rw-r--r--lib/ext/tf-m-tests/CMakeLists.txt1
2 files changed, 3 insertions, 2 deletions
diff --git a/lib/ext/mbedcrypto/CMakeLists.txt b/lib/ext/mbedcrypto/CMakeLists.txt
index 828a188677..79adce160a 100644
--- a/lib/ext/mbedcrypto/CMakeLists.txt
+++ b/lib/ext/mbedcrypto/CMakeLists.txt
@@ -20,7 +20,7 @@ if ("${MBEDCRYPTO_PATH}" STREQUAL "DOWNLOAD")
if (PATCH_FILES)
FetchContent_Declare(mbedcrypto
GIT_REPOSITORY https://github.com/ARMmbed/mbedtls.git
- GIT_TAG mbedtls-${MBEDCRYPTO_VERSION}
+ GIT_TAG ${MBEDCRYPTO_VERSION}
GIT_SHALLOW TRUE
GIT_PROGRESS TRUE
GIT_SUBMODULES ""
@@ -29,7 +29,7 @@ if ("${MBEDCRYPTO_PATH}" STREQUAL "DOWNLOAD")
else()
FetchContent_Declare(mbedcrypto
GIT_REPOSITORY https://github.com/ARMmbed/mbedtls.git
- GIT_TAG mbedtls-${MBEDCRYPTO_VERSION}
+ GIT_TAG ${MBEDCRYPTO_VERSION}
GIT_SHALLOW TRUE
GIT_PROGRESS TRUE
GIT_SUBMODULES ""
diff --git a/lib/ext/tf-m-tests/CMakeLists.txt b/lib/ext/tf-m-tests/CMakeLists.txt
index 3a1e60d17d..b26a0fde98 100644
--- a/lib/ext/tf-m-tests/CMakeLists.txt
+++ b/lib/ext/tf-m-tests/CMakeLists.txt
@@ -16,6 +16,7 @@ endif()
if ("${TFM_TEST_REPO_PATH}" STREQUAL "DOWNLOAD")
FetchContent_Declare(tfm_test_repo
GIT_REPOSITORY https://git.trustedfirmware.org/TF-M/tf-m-tests.git
+ GIT_TAG ${TFM_TEST_REPO_VERSION}
GIT_SHALLOW TRUE
GIT_PROGRESS TRUE
)