mirror of https://github.com/thesofproject/sof.git
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:
parent
a0fc1de515
commit
3a21088444
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue