Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Donald Haase
Cockatrice
Commits
c07b5399
Commit
c07b5399
authored
Jul 12, 2014
by
Fabio Bas
Browse files
Fix: ensure git is always run from the project directory
When trying to obtain the version hash
parent
f83d5830
Changes
1
Hide whitespace changes
Inline
Side-by-side
cmake/getversion.cmake
View file @
c07b5399
...
...
@@ -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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment