I’m trying to build a flatpak package with flatpak-builder. During the build process, cmake wants to create several files under /usr/local/share. I’ve tried adding the following section to my build file:
build-options:
build-args:
- "--filesystem=/usr/local:create"
Flatpak-builder doesn’t complain about these lines, but I still get complaints from cmake about not being able to create files under /usr/local. Does anybody have a working example that does something similar?