aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/build.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2018-07-02 20:37:59 +0300
committerGitHub <noreply@github.com>2018-07-02 20:37:59 +0300
commit1c44afdeed636f90a1e2685cba4143eacde21887 (patch)
treefae2555335f85911e811a719fc125b4ff1de9b03 /mesonbuild/build.py
parent1ec3c790567d230e994500a6edb44a26c2d64968 (diff)
parentcc58fdac33fad6f9af328b2bdc26fcd5c0274b84 (diff)
downloadmeson-1c44afdeed636f90a1e2685cba4143eacde21887.zip
meson-1c44afdeed636f90a1e2685cba4143eacde21887.tar.gz
meson-1c44afdeed636f90a1e2685cba4143eacde21887.tar.bz2
Merge pull request #3823 from mesonbuild/nirbheek/fix-featurenew-subprojects
Nirbheek/fix featurenew subprojects
Diffstat (limited to 'mesonbuild/build.py')
-rw-r--r--mesonbuild/build.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/build.py b/mesonbuild/build.py
index 2b22521..7d071e0 100644
--- a/mesonbuild/build.py
+++ b/mesonbuild/build.py
@@ -1780,7 +1780,7 @@ class CustomTarget(Target):
'when installing a target')
if isinstance(kwargs['install_dir'], list):
- FeatureNew('multiple install_dir for custom_target', '0.40.0').use()
+ FeatureNew('multiple install_dir for custom_target', '0.40.0').use(self.subproject)
# If an item in this list is False, the output corresponding to
# the list index of that item will not be installed
self.install_dir = typeslistify(kwargs['install_dir'], (str, bool))