Skip to content

Commit c712761

Browse files
committed
build: Allow bypassing the version checks
Introduce the CMake variable CHECK_TFM_TESTS_VERSION to allow not performing the revision checks. This is needed for TF-M forks where the upstream tags are not found, which makes the build fail. Change-Id: I3b5a22bb9ec609bf2ac097bf4803c10b14bf4f8e Signed-off-by: Tomi Fontanilles <[email protected]> (cherry picked from commit d438e9baf678209393e80ee1a4186f5de59d81b4)
1 parent 66f47eb commit c712761

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cmake/check_version.cmake

+4
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
#
66
#-------------------------------------------------------------------------------
77

8+
if(NOT CHECK_TFM_TESTS_VERSION)
9+
return()
10+
endif()
11+
812
find_package(Git)
913

1014
execute_process(COMMAND "${GIT_EXECUTABLE}" status

0 commit comments

Comments
 (0)