summaryrefslogtreecommitdiffstats
path: root/Source/cmInstallCommand.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-02-10 14:07:28 (GMT)
committerKitware Robot <kwrobot@kitware.com>2022-02-10 14:07:34 (GMT)
commit5a65e086441cb877252e73db9767884e9b284022 (patch)
tree1779bb3fe6ab52611435d9885b0bce69fddbddb5 /Source/cmInstallCommand.cxx
parentfdbc00fc476d9e07fba13f0b65dc6f97047984c0 (diff)
parent83d79636bff4963f16215b219c5941618a58c7bd (diff)
downloadCMake-5a65e086441cb877252e73db9767884e9b284022.zip
CMake-5a65e086441cb877252e73db9767884e9b284022.tar.gz
CMake-5a65e086441cb877252e73db9767884e9b284022.tar.bz2
Merge topic 'restore-target-export-includes' into release-3.23
83d79636bf install(TARGETS): Restore per-export INCLUDES DESTINATION Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !6969
Diffstat (limited to 'Source/cmInstallCommand.cxx')
-rw-r--r--Source/cmInstallCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmInstallCommand.cxx b/Source/cmInstallCommand.cxx
index 52a411b..a77b26b 100644
--- a/Source/cmInstallCommand.cxx
+++ b/Source/cmInstallCommand.cxx
@@ -760,7 +760,7 @@ bool HandleTargetsMode(std::vector<std::string> const& args,
te->FileSetGenerators[gen->GetFileSet()] = gen.get();
}
target.AddInstallIncludeDirectories(
- cmMakeRange(includesArgs.GetIncludeDirs()));
+ *te, cmMakeRange(includesArgs.GetIncludeDirs()));
te->NamelinkOnly = namelinkOnly;
helper.Makefile->GetGlobalGenerator()
->GetExportSets()[exports]