Skip to content

Commit 5d9bd10

Browse files
committed
adds Source Code Revision to EMsoft Header (was not initialized)
1 parent ef1e069 commit 5d9bd10

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: CMakeLists.txt

+2
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,8 @@ execute_process( # get abbreviated hash
133133
OUTPUT_STRIP_TRAILING_WHITESPACE
134134
)
135135

136+
string(REPLACE "\n" "" EMsoftOO_SHORT_GIT_HASH "${EMsoftOO_SHORT_GIT_HASH}")
137+
136138
execute_process(COMMAND ${GIT_EXECUTABLE} log -1 --pretty='%cd' --date=format:%Y-%m-%d-%H:%M:%S
137139
OUTPUT_VARIABLE GVS_GIT_COMMIT_DATE
138140
RESULT_VARIABLE did_run

0 commit comments

Comments
 (0)