Commit d2b6daae authored by Zach's avatar Zach
Browse files

Merge pull request #1046 from ctrlaltca/version_date

Append last commit date to version string; fix #1036
parents 53f63e28 6e9a211a
find_package(Git)
if(GIT_FOUND)
execute_process(
COMMAND ${GIT_EXECUTABLE} describe --long --always
COMMAND ${GIT_EXECUTABLE} log -1 --date=short "--pretty=%h (%cd)"
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
RESULT_VARIABLE res_var
OUTPUT_VARIABLE GIT_COM_ID
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment