Fix a small problem with add_subdirectory(${FLATBUFFERS_DIR}) from top level project. (#4764)
This commit is contained in:
parent
43944a0ab1
commit
ecc07e7793
|
@ -1,7 +1,7 @@
|
|||
find_program(GIT git)
|
||||
execute_process(
|
||||
COMMAND ${GIT} describe
|
||||
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
OUTPUT_VARIABLE GIT_DESCRIBE_DIRTY
|
||||
OUTPUT_STRIP_TRAILING_WHITESPACE
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue