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 2e07bb9 commit 7a10da0Copy full SHA for 7a10da0
scripts/cmake/version.cmake
@@ -83,7 +83,7 @@ if(EXISTS ${CMAKE_SOURCE_DIR}/.git/)
83
string(SUBSTRING ${SOF_SRC_HASH_LONG} 0 8 SOF_SRC_HASH)
84
message(STATUS "Source content hash: ${SOF_SRC_HASH}")
85
else()
86
- set(SOF_SRC_HASH ${GIT_LOG_HASH})
+ string(SUBSTRING ${GIT_LOG_HASH} 0 8 SOF_SRC_HASH)
87
message(WARNING "Source content hash can't be calculated, use GIT_LOG_HASH")
88
endif()
89
0 commit comments