Commit 851f8310 authored by mozul's avatar mozul
Browse files

ugly patch to get git revision

parent 4166649c
......@@ -7,7 +7,7 @@
# when typing 'make'
if(GIT_EXECUTABLE)
execute_process(COMMAND ${GIT_EXECUTABLE} --git-dir ${dir}/.git --work-tree=${dir} rev-parse HEAD
execute_process(COMMAND ${GIT_EXECUTABLE} --git-dir ${dir}/../.git --work-tree=${dir} rev-parse HEAD
OUTPUT_VARIABLE git_revision
OUTPUT_STRIP_TRAILING_WHITESPACE
)
......
Markdown is supported
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