diff options
author | Daniel Mensinger <daniel@mensinger-ka.de> | 2019-04-19 10:34:00 +0200 |
---|---|---|
committer | Daniel Mensinger <daniel@mensinger-ka.de> | 2019-06-06 18:27:04 +0200 |
commit | 35936316eb87f2930a3873da71eaa1c9f11e3186 (patch) | |
tree | 4d47ec683062592784fa1cbc32ad6d127b0d4456 /mesonbuild/interpreter.py | |
parent | 9b22147dcb0c31cc374ebf6b059f225530401a51 (diff) | |
download | meson-35936316eb87f2930a3873da71eaa1c9f11e3186.zip meson-35936316eb87f2930a3873da71eaa1c9f11e3186.tar.gz meson-35936316eb87f2930a3873da71eaa1c9f11e3186.tar.bz2 |
cmake: rebase fixes
Diffstat (limited to 'mesonbuild/interpreter.py')
-rw-r--r-- | mesonbuild/interpreter.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mesonbuild/interpreter.py b/mesonbuild/interpreter.py index efed755..0e50202 100644 --- a/mesonbuild/interpreter.py +++ b/mesonbuild/interpreter.py @@ -2416,7 +2416,7 @@ external dependencies (including libraries) must go to "dependencies".''') raise InterpreterException('Tried to call option() in build description file. All options must be in the option file.') @FeatureNewKwargs('subproject', '0.38.0', ['default_options']) - @FeatureNewKwargs('subproject', '0.50.0', ['method']) + @FeatureNewKwargs('subproject', '0.51.0', ['method', 'cmake_options']) @permittedKwargs(permitted_kwargs['subproject']) @stringArgs def func_subproject(self, nodes, args, kwargs): @@ -2537,9 +2537,9 @@ external dependencies (including libraries) must go to "dependencies".''') self.subprojects[dirname] = SubprojectHolder(subi, self.subproject_dir, dirname) # Duplicates are possible when subproject uses files from project root if build_def_files: - self.build_def_files += list(set(self.build_def_files + build_def_files)) + self.build_def_files = list(set(self.build_def_files + build_def_files)) else: - self.build_def_files += list(set(self.build_def_files + subi.build_def_files)) + self.build_def_files = list(set(self.build_def_files + subi.build_def_files)) self.build.merge(subi.build) self.build.subprojects[dirname] = subi.project_version return self.subprojects[dirname] |