mirror of
https://github.com/google/flatbuffers.git
synced 2026-07-01 06:11:38 +00:00
Fix git command executed in wrong folder when doing cmake superbuild (#6039)
This commit is contained in:
committed by
GitHub
parent
ff1b73128d
commit
6d0aae73cd
@@ -7,7 +7,7 @@ find_program(GIT git)
|
|||||||
if(GIT)
|
if(GIT)
|
||||||
execute_process(
|
execute_process(
|
||||||
COMMAND ${GIT} describe
|
COMMAND ${GIT} describe
|
||||||
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
|
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
OUTPUT_VARIABLE GIT_DESCRIBE_DIRTY
|
OUTPUT_VARIABLE GIT_DESCRIBE_DIRTY
|
||||||
OUTPUT_STRIP_TRAILING_WHITESPACE
|
OUTPUT_STRIP_TRAILING_WHITESPACE
|
||||||
RESULT_VARIABLE GIT_DESCRIBE_RESULT
|
RESULT_VARIABLE GIT_DESCRIBE_RESULT
|
||||||
|
|||||||
Reference in New Issue
Block a user