diff options
author | Brad King <brad.king@kitware.com> | 2019-01-29 14:16:56 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2019-01-29 14:17:51 (GMT) |
commit | 90ac5e6384735deb0ac523684010b2f4701d4f4d (patch) | |
tree | 2c12e634eb7c95d4dfdf0221ae1e6b99f531b7b2 /Source/cmGhsMultiTargetGenerator.cxx | |
parent | e7be5638a04ad6e47aafaed29139c6382fdea1cb (diff) | |
parent | 186d9b083db0e3fc77d9d92821e3cf45e06271da (diff) | |
download | CMake-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.cxx | 6 |
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: |