diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2021-12-04 19:58:12 -0800 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2021-12-05 08:33:32 -0800 |
commit | 4f0c5af3908241228f042184cdbd2b8fc286712e (patch) | |
tree | 104ef6b247ba4111969a7071be2f5456a038912a /mesonbuild | |
parent | c88bfdbefc2f79ac2dfa9bff5847c350de5f5db8 (diff) | |
download | meson-4f0c5af3908241228f042184cdbd2b8fc286712e.zip meson-4f0c5af3908241228f042184cdbd2b8fc286712e.tar.gz meson-4f0c5af3908241228f042184cdbd2b8fc286712e.tar.bz2 |
modules/qt: compeil_resources allow name to be unset
Originally name should have been set to required=True, but since then
the requirement to name CustomTargets (which compile_resources is a
wrapper around) has been dropped. As such we just need to allow the
default value of None through.
Fixes: #9698
Diffstat (limited to 'mesonbuild')
-rw-r--r-- | mesonbuild/modules/qt.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/modules/qt.py b/mesonbuild/modules/qt.py index 9360e4a..cf97368 100644 --- a/mesonbuild/modules/qt.py +++ b/mesonbuild/modules/qt.py @@ -277,7 +277,7 @@ class QtBaseModule(ExtensionModule): @noPosargs @typed_kwargs( 'qt.compile_resources', - KwargInfo('name', str), + KwargInfo('name', (str, NoneType)), KwargInfo( 'sources', ContainerTypeInfo(list, (File, str, build.CustomTarget, build.CustomTargetIndex, build.GeneratedList), allow_empty=False), |