port: Fix build error when building in a flatpak

If you create a project with gnome builder and port it blueprint and try to build it in flatpak you will get a compiler error that /org/gnome/Example/window.ui.
Setting the source_dir variable in meson fixes this.
This commit is contained in:
Octavian Alexandru Butiu 2025-03-19 22:14:24 +02:00
parent 394014429e
commit fa3b84d612

View file

@ -266,6 +266,7 @@ blueprints = custom_target('blueprints',
arguments in {Colors.UNDERLINE}{meson_file}{Colors.NO_UNDERLINE}:{Colors.CLEAR}
dependencies: blueprints,
source_dir: meson.current_build_dir(),
"""
)
enter()