summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMake/BuildFlatBuffers.cmake2
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}