aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/cmake/interpreter.py
diff options
context:
space:
mode:
authorDaniel Mensinger <daniel@mensinger-ka.de>2020-09-27 18:05:13 +0200
committerDaniel Mensinger <daniel@mensinger-ka.de>2020-09-27 20:56:09 +0200
commit6a71391de6a5487a6cda7b273e955ae9c1e30ceb (patch)
tree96d0b35c24b151e2ef598297c59cc0d140623112 /mesonbuild/cmake/interpreter.py
parent6dfdb407f0f65eb35eab1fb9f39d94e6e6ca3cf8 (diff)
downloadmeson-6a71391de6a5487a6cda7b273e955ae9c1e30ceb.zip
meson-6a71391de6a5487a6cda7b273e955ae9c1e30ceb.tar.gz
meson-6a71391de6a5487a6cda7b273e955ae9c1e30ceb.tar.bz2
typing: fully annotate cmake.common
Diffstat (limited to 'mesonbuild/cmake/interpreter.py')
-rw-r--r--mesonbuild/cmake/interpreter.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/cmake/interpreter.py b/mesonbuild/cmake/interpreter.py
index 2fdb328..30d288e 100644
--- a/mesonbuild/cmake/interpreter.py
+++ b/mesonbuild/cmake/interpreter.py
@@ -264,8 +264,8 @@ class ConverterTarget:
self.compile_opts[lang] += [x for x in args if x not in self.compile_opts[lang]]
# Handle include directories
- self.includes += [x['path'] for x in i.includes if x not in self.includes and not x['isSystem']]
- self.sys_includes += [x['path'] for x in i.includes if x not in self.sys_includes and x['isSystem']]
+ self.includes += [x.path for x in i.includes if x not in self.includes and not x.isSystem]
+ self.sys_includes += [x.path for x in i.includes if x not in self.sys_includes and x.isSystem]
# Add sources to the right array
if i.is_generated: