Skip to content

Commit

Permalink
build: remove validation for include_directories
Browse files Browse the repository at this point in the history
  • Loading branch information
dcbaker committed Jan 13, 2025
1 parent 8e937b1 commit 078abb2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions mesonbuild/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -1534,8 +1534,6 @@ def add_pch(self, language: str, pchlist: T.List[str]) -> None:
def add_include_dirs(self, args: T.Sequence['IncludeDirs'], set_is_system: T.Optional[str] = None) -> None:
ids: T.List['IncludeDirs'] = []
for a in args:
if not isinstance(a, IncludeDirs):
raise InvalidArguments('Include directory to be added is not an include directory object.')
ids.append(a)
if set_is_system is None:
set_is_system = 'preserve'
Expand Down

0 comments on commit 078abb2

Please sign in to comment.