Passing cmake options setting via yaml/json flatpak config?

My project’s CMakeLists.txt has some custom options which I set to help configure the build.

How should one pass such settings via Flatpak yaml/json file ?

Cheers

You can use

config-opts:
      - -Option=Value

A example Manifest which uses this can be found here.