Compare commits

...

2 commits

Author SHA1 Message Date
Octavian Alexandru Butiu
9fca125d66 Merge branch 'main' into 'main'
port: Fix build error when building in a flatpak

See merge request jwestman/blueprint-compiler!235
2025-04-03 18:00:40 +00:00
Octavian Alexandru Butiu
fa3b84d612 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.
2025-03-25 21:08:04 +00:00

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()