We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0fa3c2a commit 553c47aCopy full SHA for 553c47a
cmake/version.cmake
@@ -16,7 +16,7 @@ execute_process(COMMAND git describe --tags --always
16
# In a repository cloned with --no-tags option TFM_VERSION_FULL will be a hash
17
# only hence checking it for a tag format to accept as valid version.
18
19
-string(FIND ${TFM_VERSION_FULL} "TF-M" TFM_TAG)
+string(FIND ${TFM_VERSION_FULL} "v" TFM_TAG)
20
if(TFM_TAG EQUAL -1)
21
set(TFM_VERSION_FULL v${TFM_VERSION_MANUAL})
22
message(WARNING "Actual TF-M version is not available from Git repository. Settled to " ${TFM_VERSION_FULL})
0 commit comments