forked from AuroraMiddleware/gtk
meson: override gtk4 dependency
This allows applications that depends on gtk4 to build it as subproject without hardcoding 'gtk_dep' variable name in their build definition.
This commit is contained in:
parent
cba8c40aa0
commit
405dc7f557
@ -778,6 +778,7 @@ foreach pkg: pkgs
|
||||
subdirs: ['gtk-@0@'.format(gtk_api_version)],
|
||||
extra_cflags: gdk_extra_cflags + gsk_extra_cflags + gtk_extra_cflags,
|
||||
)
|
||||
meson.override_dependency(pkg, libgtk_dep)
|
||||
endforeach
|
||||
|
||||
if os_unix
|
||||
|
Loading…
Reference in New Issue
Block a user