forked from platformio/platformio-core
Fix issue with empty CPPPATH when processing a library
This commit is contained in:
1 parent
8314e05a71
commit
5d8a17ba6d
1 file changed
+1
-1
@@ -571,7 +571,7 @@ class PlatformIOLibBuilder(LibBuilderBase):
|
||||
inc_dirs.append(join(self.path, "utility"))
|
||||
|
||||
for path in self.env.get("CPPPATH", []):
|
||||
if path not in self.envorigin['CPPPATH']:
|
||||
if path not in self.envorigin.get("CPPPATH", []):
|
||||
inc_dirs.append(self.env.subst(path))
|
||||
return inc_dirs
|
||||
|
||||
|
||||
Reference in new issue
Block a user