Commit c07b5399 authored by Fabio Bas's avatar Fabio Bas
Browse files

Fix: ensure git is always run from the project directory

When trying to obtain the version hash
parent f83d5830
......@@ -2,6 +2,7 @@ find_package(Git)
if(GIT_FOUND)
execute_process(
COMMAND ${GIT_EXECUTABLE} describe --long --always
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