From 96cc2f3ee329bd81df4ac82c3322a4cf7cecb78f Mon Sep 17 00:00:00 2001 From: LouisP Date: Fri, 14 Jan 2022 23:38:04 +0100 Subject: BuildFlatBuffers.cmake: fix arguments not passed properly to flatc (#7013) Fix regression introduced by commit e9d45324012ed04af97cbe99bab0e6afe475e95d --- CMake/BuildFlatBuffers.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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} -- cgit v1.2.3