summaryrefslogtreecommitdiff
path: root/Source/cmInstallCommand.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmInstallCommand.cxx')
-rw-r--r--Source/cmInstallCommand.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/Source/cmInstallCommand.cxx b/Source/cmInstallCommand.cxx
index 9a5dbef30a..b99e6a3c6c 100644
--- a/Source/cmInstallCommand.cxx
+++ b/Source/cmInstallCommand.cxx
@@ -463,7 +463,6 @@ bool HandleTargetsMode(std::vector<std::string> const& args,
auto addTargetExport = [&]() {
// Add this install rule to an export if one was specified.
- // (If this is a namelink-only rule no export file will be generated.)
if (!exports.empty()) {
auto te = cm::make_unique<cmTargetExport>();
te->TargetName = target.GetName();