mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-26 11:12:40 +00:00
Fix a small problem with add_subdirectory(${FLATBUFFERS_DIR}) from top level project. (#4764)
This commit is contained in:
committed by
Wouter van Oortmerssen
parent
43944a0ab1
commit
ecc07e7793
@@ -1,7 +1,7 @@
|
|||||||
find_program(GIT git)
|
find_program(GIT 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
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user