1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-13 00:32:20 +01:00

fix clang

This commit is contained in:
Tomasz Duda
2024-07-24 19:11:44 +02:00
parent 0c0a972c5e
commit 1e552bb458
4 changed files with 4 additions and 6 deletions

View File

@@ -116,9 +116,8 @@ def clang_options(idedata):
# skip our own directories, we add those later
if (
not directory.startswith(f"{root_path}/")
or directory.startswith(f"{root_path}/.pio/")
or (directory.startswith(f"{root_path}") and "/.pio/" in directory)
or directory.startswith(f"{root_path}/managed_components/")
or "zephyr/include/generated" in directory
):
cmd.extend(["-isystem", directory])