diff options
author | Daniel Mensinger <daniel@mensinger-ka.de> | 2020-02-01 18:02:19 +0100 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2020-03-19 22:52:03 +0200 |
commit | 673ca982f150200e27db7654ae38684b97f43b27 (patch) | |
tree | 016eaf2af5774d02e8d938481b25dd3627db537e /mesonbuild/interpreter.py | |
parent | 02e7316d31709db48cbdcafcc7eac2ad94a1b487 (diff) | |
download | meson-673ca982f150200e27db7654ae38684b97f43b27.zip meson-673ca982f150200e27db7654ae38684b97f43b27.tar.gz meson-673ca982f150200e27db7654ae38684b97f43b27.tar.bz2 |
cmake: Add find_package COMPONETS support
Diffstat (limited to 'mesonbuild/interpreter.py')
-rw-r--r-- | mesonbuild/interpreter.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mesonbuild/interpreter.py b/mesonbuild/interpreter.py index af6eda3..2bd5992 100644 --- a/mesonbuild/interpreter.py +++ b/mesonbuild/interpreter.py @@ -2159,6 +2159,7 @@ permitted_kwargs = {'add_global_arguments': {'language', 'native'}, 'main', 'method', 'modules', + 'components', 'cmake_module_path', 'optional_modules', 'native', @@ -3376,6 +3377,7 @@ external dependencies (including libraries) must go to "dependencies".''') elif name == 'openmp': FeatureNew('OpenMP Dependency', '0.46.0').use(self.subproject) + @FeatureNewKwargs('dependency', '0.54.0', ['components']) @FeatureNewKwargs('dependency', '0.52.0', ['include_type']) @FeatureNewKwargs('dependency', '0.50.0', ['not_found_message', 'cmake_module_path', 'cmake_args']) @FeatureNewKwargs('dependency', '0.49.0', ['disabler']) |