Skip to content

Commit

Permalink
force the flatc version of the flatbuffers subproject
Browse files Browse the repository at this point in the history
In order to make sure no other version is run.

There is no way, as per the docs, to force only searching the binary in
the subsprojects folder.
  • Loading branch information
jmillan committed Oct 11, 2023
1 parent ee601eb commit 2e67a31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion worker/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ flatbuffers_schemas = [
flatbuffers_cpp_out_dir = 'FBS'
flatbuffers_cpp_install_dir = meson.current_source_dir() + '/include'

flatc = find_program('flatc')
flatc = find_program('flatc', version: '=23.3.3')
flatc_generator = custom_target('flatc-generator',
output: flatbuffers_cpp_out_dir,
input: flatbuffers_schemas,
Expand Down

0 comments on commit 2e67a31

Please sign in to comment.