From 9eb7fe332f6a6a8babd040b76ad2a6808faf0423 Mon Sep 17 00:00:00 2001 From: Daniele Nicolodi Date: Mon, 26 Jun 2023 16:24:53 +0200 Subject: Fix install_data() default install path This fixes two issues in constructing the default installation path when install_dir is not specified: - inside a subproject, install_data() would construct the destination path using the parent project name instead than the current project name, - when specifying preserve_path, install_data() would construct the destination path omitting the project name. Fixes #11910. --- docs/yaml/functions/install_data.yaml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'docs') diff --git a/docs/yaml/functions/install_data.yaml b/docs/yaml/functions/install_data.yaml index b083479..5ecc318 100644 --- a/docs/yaml/functions/install_data.yaml +++ b/docs/yaml/functions/install_data.yaml @@ -12,6 +12,8 @@ varargs: warnings: - the `install_mode` kwarg ignored integer values between 0.59.0 -- 1.1.0. + - an omitted `install_dir` kwarg did not work correctly inside of a subproject until 1.3.0. + - an omitted `install_dir` kwarg did not work correctly when combined with the `preserve_path` kwarg untill 1.3.0. kwargs: install_dir: -- cgit v1.1