diff --git a/mesonbuild/interpreter/type_checking.py b/mesonbuild/interpreter/type_checking.py index d3f2d3494..ec23f36e7 100644 --- a/mesonbuild/interpreter/type_checking.py +++ b/mesonbuild/interpreter/type_checking.py @@ -328,7 +328,7 @@ CT_BUILD_ALWAYS_STALE: KwargInfo[T.Optional[bool]] = KwargInfo( INSTALL_DIR_KW: KwargInfo[T.Optional[str]] = KwargInfo('install_dir', (str, NoneType)) INCLUDE_DIRECTORIES: KwargInfo[T.List[T.Union[str, IncludeDirs]]] = KwargInfo( - 'include_dirs', + 'include_directories', ContainerTypeInfo(list, (str, IncludeDirs)), listify=True, default=[], diff --git a/mesonbuild/modules/windows.py b/mesonbuild/modules/windows.py index 0033fe92c..58a08a7a5 100644 --- a/mesonbuild/modules/windows.py +++ b/mesonbuild/modules/windows.py @@ -111,7 +111,7 @@ class WindowsModule(ExtensionModule): 'winddows.compile_resoures', DEPEND_FILES_KW.evolve(since='0.47.0'), DEPENDS_KW.evolve(since='0.47.0'), - INCLUDE_DIRECTORIES.evolve(name='include_directories'), + INCLUDE_DIRECTORIES, KwargInfo('args', ContainerTypeInfo(list, str), default=[], listify=True), ) def compile_resources(self, state: 'ModuleState',