Resources not found when building as a static library (`default_library=static`) as a subproject
using the following in my meson.build
:
libadwaita_dep = dependency (
'libadwaita-1',
fallback: ['libadwaita', 'libadwaita_dep'],
default_options: [
'vapi=false', 'tests=false',
'examples=false', 'introspection=disabled',
'default_library=static'])
I get the following when I run my project:
Gtk-CRITICAL **: 07:30:25.391: (gtk_widget_class_set_template_from_resource:11135): Unable to load resource for composite template for type 'AdwViewSwitcherButton': The resource at “/org/gnome/Adwaita/ui/adw-view-switcher-button.ui” does not exist
Works fine when using default_library=shared