summaryrefslogtreecommitdiffstats
path: root/Source/cmInstallCommand.cxx
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2022-04-15 17:33:31 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2022-04-16 00:44:53 (GMT)
commit60fab8a6e08a014bc66b2347b4d1037ad52164c7 (patch)
treea391a96e8141c8d0c8108ac6a487f813175a987e /Source/cmInstallCommand.cxx
parent33c6d01e8264706c692a04dc51e2993150fdfd0b (diff)
downloadCMake-60fab8a6e08a014bc66b2347b4d1037ad52164c7.zip
CMake-60fab8a6e08a014bc66b2347b4d1037ad52164c7.tar.gz
CMake-60fab8a6e08a014bc66b2347b4d1037ad52164c7.tar.bz2
cmInstallCommand: tweak error message
Not all filesets need to be installed; just those that are visible on the target's interface. Clarify the error message.
Diffstat (limited to 'Source/cmInstallCommand.cxx')
-rw-r--r--Source/cmInstallCommand.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmInstallCommand.cxx b/Source/cmInstallCommand.cxx
index 8ce7ed1..bb08215 100644
--- a/Source/cmInstallCommand.cxx
+++ b/Source/cmInstallCommand.cxx
@@ -741,9 +741,9 @@ bool HandleTargetsMode(std::vector<std::string> const& args,
[=](const cmInstallCommandFileSetArguments& fileSetArg)
-> bool { return fileSetArg.GetFileSet() == name; });
})) {
- status.SetError(cmStrCat(
- "TARGETS target ", target.GetName(),
- " is exported but not all of its file sets are installed"));
+ status.SetError(cmStrCat("TARGETS target ", target.GetName(),
+ " is exported but not all of its interface "
+ "file sets are installed"));
return false;
}