mirror of
https://github.com/esphome/esphome.git
synced 2025-01-11 19:50:45 +01:00
[CI] Use a list when reading idedata for includes (#7535)
This commit is contained in:
parent
523eedbc51
commit
1cf4818640
@ -98,7 +98,7 @@ def clang_options(idedata):
|
||||
cmd.extend(["-isystem", directory])
|
||||
|
||||
# add library include directories using -isystem to suppress their errors
|
||||
for directory in set(idedata["includes"]["build"]):
|
||||
for directory in list(idedata["includes"]["build"]):
|
||||
# skip our own directories, we add those later
|
||||
if (
|
||||
not directory.startswith(f"{root_path}/")
|
||||
|
Loading…
Reference in New Issue
Block a user