aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2017-11-28 17:12:45 -0800
committerDylan Baker <dylan@pnwbakers.com>2017-11-28 17:12:45 -0800
commitf260a422165ed4471a5c7660c9501b7bdb98437a (patch)
tree763b68dec1d79ec27528762c542616a667521bd1 /mesonbuild
parent120f7a4c4009990b2eed70ffbf019b5f7daf8268 (diff)
downloadmeson-f260a422165ed4471a5c7660c9501b7bdb98437a.zip
meson-f260a422165ed4471a5c7660c9501b7bdb98437a.tar.gz
meson-f260a422165ed4471a5c7660c9501b7bdb98437a.tar.bz2
Don't warn for optional_modules
LLVM can have optional modules, modules that will make the code faster but are not required.
Diffstat (limited to 'mesonbuild')
-rw-r--r--mesonbuild/interpreter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/interpreter.py b/mesonbuild/interpreter.py
index b301fee..3e89305 100644
--- a/mesonbuild/interpreter.py
+++ b/mesonbuild/interpreter.py
@@ -1368,7 +1368,7 @@ permitted_kwargs = {'add_global_arguments': {'language'},
'build_target': build_target_kwargs,
'configure_file': {'input', 'output', 'configuration', 'command', 'install_dir', 'capture', 'install'},
'custom_target': {'input', 'output', 'command', 'install', 'install_dir', 'build_always', 'capture', 'depends', 'depend_files', 'depfile', 'build_by_default'},
- 'dependency': {'default_options', 'fallback', 'language', 'method', 'modules', 'native', 'required', 'static', 'version'},
+ 'dependency': {'default_options', 'fallback', 'language', 'method', 'modules', 'optional_modules', 'native', 'required', 'static', 'version'},
'declare_dependency': {'include_directories', 'link_with', 'sources', 'dependencies', 'compile_args', 'link_args', 'version'},
'executable': exe_kwargs,
'find_program': {'required', 'native'},