Skip to content

Commit f6a25cb

Browse files
committed
Fix flatc process
1 parent dade4fc commit f6a25cb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,7 @@ function(render_pipeline_generate_schema_headers)
6868
file(GLOB flatc_input_files "${PROJECT_SOURCE_DIR}/resources/data/schema/*.fbs")
6969
foreach(input_file ${flatc_input_files})
7070
execute_process(
71-
COMMAND ${FlatBuffers_flatc} -c --scoped-enums "${input_file}"
72-
WORKING_DIRECTORY "${PROJECT_BINARY_DIR}/rpcore/schema"
71+
COMMAND ${FlatBuffers_flatc} -c --scoped-enums -o "${PROJECT_BINARY_DIR}/rpcore/schema" "${input_file}"
7372
RESULT_VARIABLE flatc_result
7473
)
7574
if(NOT (${flatc_result} EQUAL "0"))

0 commit comments

Comments
 (0)