mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 10:07:14 +02:00
Fix issue with empty CPPPATH when processing a library
This commit is contained in:
@ -571,7 +571,7 @@ class PlatformIOLibBuilder(LibBuilderBase):
|
|||||||
inc_dirs.append(join(self.path, "utility"))
|
inc_dirs.append(join(self.path, "utility"))
|
||||||
|
|
||||||
for path in self.env.get("CPPPATH", []):
|
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))
|
inc_dirs.append(self.env.subst(path))
|
||||||
return inc_dirs
|
return inc_dirs
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user