mirror of
https://github.com/clementine-player/Clementine
synced 2025-01-24 08:21:29 +01:00
Add debug messages for git rev versioning
This commit is contained in:
parent
9be5b9805d
commit
662ac60eb1
@ -124,14 +124,15 @@ if(FORCE_GIT_REVISION)
|
||||
set(GIT_INFO_RESULT 0)
|
||||
else(FORCE_GIT_REVISION)
|
||||
find_program(GIT_EXECUTABLE git)
|
||||
message(STATUS "Found git: ${GIT_EXECUTABLE}")
|
||||
|
||||
if(NOT GIT_EXECUTABLE-NOTFOUND)
|
||||
execute_process(COMMAND ${GIT_EXECUTABLE} describe
|
||||
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
|
||||
RESULT_VARIABLE GIT_INFO_RESULT
|
||||
OUTPUT_VARIABLE GIT_REV
|
||||
ERROR_QUIET
|
||||
OUTPUT_STRIP_TRAILING_WHITESPACE)
|
||||
message(STATUS "git describe (${GIT_INFO_RESULT}) $ ${GIT_REV}")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user