mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 13:30:02 +00:00
Support builds outside the git dir.
Oops.
This commit is contained in:
parent
62ab4b7f51
commit
6ca4f2f508
@ -5,6 +5,7 @@ set(GIT_VERSION_UPDATE "1")
|
||||
find_package(Git)
|
||||
if(GIT_FOUND)
|
||||
execute_process(COMMAND ${GIT_EXECUTABLE} describe --always
|
||||
WORKING_DIRECTORY ${SOURCE_DIR}
|
||||
RESULT_VARIABLE exit_code
|
||||
OUTPUT_VARIABLE GIT_VERSION)
|
||||
if(NOT ${exit_code} EQUAL 0)
|
||||
|
Loading…
Reference in New Issue
Block a user