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:35 (GMT)
commit069d836dabe9d80491552a31f872012195e00132 (patch)
tree72dc5a08372460c1e0bf92697fbdeed98f00659f /Source/cmInstallCommand.cxx
parent9ac2b3db015c3d002e07bf180b69e42f6eac771d (diff)
parent83d79636bff4963f16215b219c5941618a58c7bd (diff)
downloadCMake-069d836dabe9d80491552a31f872012195e00132.zip
CMake-069d836dabe9d80491552a31f872012195e00132.tar.gz
CMake-069d836dabe9d80491552a31f872012195e00132.tar.bz2
Merge topic 'restore-target-export-includes'
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]