mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Fix git_revision.cpp
updating for out-of-tree builds
This commit is contained in:
parent
9f53623ffe
commit
6f3a7a60ea
|
@ -635,6 +635,7 @@ endfunction()
|
|||
file(MAKE_DIRECTORY "${PROJECT_BINARY_DIR}/src/game/generated/")
|
||||
execute_process(COMMAND git rev-parse --git-dir
|
||||
ERROR_QUIET
|
||||
WORKING_DIRECTORY "${PROJECT_SOURCE_DIR}"
|
||||
OUTPUT_VARIABLE PROJECT_GIT_DIR
|
||||
OUTPUT_STRIP_TRAILING_WHITESPACE
|
||||
RESULT_VARIABLE PROJECT_GIT_DIR_ERROR
|
||||
|
|
Loading…
Reference in a new issue