diff options
author | LouisP <lpdev@cordier.org> | 2022-01-14 23:38:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-14 14:38:04 -0800 |
commit | 96cc2f3ee329bd81df4ac82c3322a4cf7cecb78f (patch) | |
tree | fd2ba09fe49c3a0c912a51a232d71422d2224877 | |
parent | 3250a1f8dd17c0194f596e78687a695e3e9304a4 (diff) | |
download | flatbuffers-96cc2f3ee329bd81df4ac82c3322a4cf7cecb78f.tar.gz flatbuffers-96cc2f3ee329bd81df4ac82c3322a4cf7cecb78f.tar.bz2 flatbuffers-96cc2f3ee329bd81df4ac82c3322a4cf7cecb78f.zip |
BuildFlatBuffers.cmake: fix arguments not passed properly to flatc (#7013)
Fix regression introduced by commit e9d45324012ed04af97cbe99bab0e6afe475e95d
-rw-r--r-- | CMake/BuildFlatBuffers.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMake/BuildFlatBuffers.cmake b/CMake/BuildFlatBuffers.cmake index 01db72d7..b94c7ed1 100644 --- a/CMake/BuildFlatBuffers.cmake +++ b/CMake/BuildFlatBuffers.cmake @@ -95,7 +95,7 @@ function(build_flatbuffers flatbuffers_schemas set(generated_include ${generated_includes_dir}/${filename}_generated.h) add_custom_command( OUTPUT ${generated_include} - COMMAND ${FLATC} ${FLATC_ARGS} + COMMAND ${FLATC} ${FLATC_SCHEMA_ARGS} -o ${generated_includes_dir} ${include_params} -c ${schema} |