summaryrefslogtreecommitdiffstats
path: root/Source/cmGhsMultiTargetGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-01-29 14:16:56 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-01-29 14:17:51 (GMT)
commit90ac5e6384735deb0ac523684010b2f4701d4f4d (patch)
tree2c12e634eb7c95d4dfdf0221ae1e6b99f531b7b2 /Source/cmGhsMultiTargetGenerator.cxx
parente7be5638a04ad6e47aafaed29139c6382fdea1cb (diff)
parent186d9b083db0e3fc77d9d92821e3cf45e06271da (diff)
downloadCMake-90ac5e6384735deb0ac523684010b2f4701d4f4d.zip
CMake-90ac5e6384735deb0ac523684010b2f4701d4f4d.tar.gz
CMake-90ac5e6384735deb0ac523684010b2f4701d4f4d.tar.bz2
Merge topic 'message-stdstring'
186d9b083d cmSystemTools::Message: Add overload accepting std::string Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2869
Diffstat (limited to 'Source/cmGhsMultiTargetGenerator.cxx')
-rw-r--r--Source/cmGhsMultiTargetGenerator.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmGhsMultiTargetGenerator.cxx b/Source/cmGhsMultiTargetGenerator.cxx
index 19605e4..c253937 100644
--- a/Source/cmGhsMultiTargetGenerator.cxx
+++ b/Source/cmGhsMultiTargetGenerator.cxx
@@ -67,7 +67,7 @@ void cmGhsMultiTargetGenerator::Generate()
case cmStateEnums::SHARED_LIBRARY: {
std::string msg = "add_library(<name> SHARED ...) not supported: ";
msg += this->Name;
- cmSystemTools::Message(msg.c_str());
+ cmSystemTools::Message(msg);
return;
}
case cmStateEnums::OBJECT_LIBRARY: {
@@ -84,13 +84,13 @@ void cmGhsMultiTargetGenerator::Generate()
case cmStateEnums::MODULE_LIBRARY: {
std::string msg = "add_library(<name> MODULE ...) not supported: ";
msg += this->Name;
- cmSystemTools::Message(msg.c_str());
+ cmSystemTools::Message(msg);
return;
}
case cmStateEnums::UTILITY: {
std::string msg = "add_custom_target(<name> ...) not supported: ";
msg += this->Name;
- cmSystemTools::Message(msg.c_str());
+ cmSystemTools::Message(msg);
return;
}
default: