cmake: Rephrase message about git absence during source hash computing

This message shoulddn't be in imperative mode, to follow rules.

Signed-off-by: Karol Trzcinski <karolx.trzcinski@linux.intel.com>
This commit is contained in:
Karol Trzcinski 2020-08-27 09:59:24 +02:00 committed by Liam Girdwood
parent a0fc1de515
commit 3a21088444
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ if(EXISTS ${CMAKE_SOURCE_DIR}/.git/)
message(STATUS "Source content hash: ${SOF_SRC_HASH}") message(STATUS "Source content hash: ${SOF_SRC_HASH}")
else() else()
string(SUBSTRING ${GIT_LOG_HASH} 0 8 SOF_SRC_HASH) string(SUBSTRING ${GIT_LOG_HASH} 0 8 SOF_SRC_HASH)
message(WARNING "Source content hash can't be calculated, use GIT_LOG_HASH") message(WARNING "Source content hash not computed without git, using GIT_LOG_HASH instead")
endif() endif()
# for SOF_BUILD # for SOF_BUILD