summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefileTargetGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-08-25 15:27:10 (GMT)
committerKitware Robot <kwrobot@kitware.com>2023-08-25 15:27:27 (GMT)
commit863891adb232cd89830080c702361444f496b4fe (patch)
tree4a7c0cb3b7a33d3cf2cfe85f0d5075f7455605ae /Source/cmMakefileTargetGenerator.cxx
parent5ae0030e90df07e56dc16b0210bd334650dcc9d4 (diff)
parent571b5e1f2c5569cd555377423930f8d61d5d2e99 (diff)
downloadCMake-863891adb232cd89830080c702361444f496b4fe.zip
CMake-863891adb232cd89830080c702361444f496b4fe.tar.gz
CMake-863891adb232cd89830080c702361444f496b4fe.tar.bz2
Merge topic 'modules-better-messages'
571b5e1f2c cxxmodules: improve error messages for C++ module setup 8b4d32c18b cmStandardLevelResolver: add query for the effective standard level 17ddc4ac76 cmStandardLevelResolver: compare with static string literals 6f1dae2b01 cmStandardLevelResolver: use `cmStrCat` where possible 0d45d40e13 cmStandardLevelResolver: use character literals where possible Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8755
Diffstat (limited to 'Source/cmMakefileTargetGenerator.cxx')
-rw-r--r--Source/cmMakefileTargetGenerator.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmMakefileTargetGenerator.cxx b/Source/cmMakefileTargetGenerator.cxx
index 5e3bf61..caa5e67 100644
--- a/Source/cmMakefileTargetGenerator.cxx
+++ b/Source/cmMakefileTargetGenerator.cxx
@@ -207,9 +207,9 @@ void cmMakefileTargetGenerator::WriteTargetBuildRules()
if (this->GeneratorTarget->HaveCxx20ModuleSources()) {
this->Makefile->IssueMessage(
MessageType::FATAL_ERROR,
- cmStrCat("The \"", this->GeneratorTarget->GetName(),
- "\" target contains C++ module sources which are not supported "
- "by the generator"));
+ cmStrCat("The target named \"", this->GeneratorTarget->GetName(),
+ "\" contains C++ sources that export modules which is not "
+ "supported by the generator"));
}
// -- Write the custom commands for this target