mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-27 01:32:18 +00:00
Merge pull request #3867 from dreifachstein/master
Use the build output flatc to compile test schemas by default.
This commit is contained in:
@@ -136,6 +136,9 @@ endif()
|
|||||||
|
|
||||||
if(FLATBUFFERS_BUILD_FLATC)
|
if(FLATBUFFERS_BUILD_FLATC)
|
||||||
add_executable(flatc ${FlatBuffers_Compiler_SRCS})
|
add_executable(flatc ${FlatBuffers_Compiler_SRCS})
|
||||||
|
if(NOT FLATBUFFERS_FLATC_EXECUTABLE)
|
||||||
|
set(FLATBUFFERS_FLATC_EXECUTABLE $<TARGET_FILE:flatc>)
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(FLATBUFFERS_BUILD_FLATHASH)
|
if(FLATBUFFERS_BUILD_FLATHASH)
|
||||||
|
|||||||
Reference in New Issue
Block a user