BuildFlatBuffers.cmake: fix arguments not passed properly to flatc (#7013)

Fix regression introduced by commit e9d4532401
This commit is contained in:
LouisP 2022-01-14 23:38:04 +01:00 committed by GitHub
parent 3250a1f8dd
commit 96cc2f3ee3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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}