summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorTarget.cxx
diff options
context:
space:
mode:
authorRolf Eike Beer <eike@sf-mail.de>2019-08-18 12:22:11 (GMT)
committerRolf Eike Beer <eike@sf-mail.de>2019-08-18 12:22:11 (GMT)
commitda26b3be8948471dd2320d1e44af9eb5dfaa0f6a (patch)
treed3e861dde3c600440154767d88a90a13af5abc01 /Source/cmGeneratorTarget.cxx
parent06e32a089df03c158eaee7525de3ac1be25d8136 (diff)
downloadCMake-da26b3be8948471dd2320d1e44af9eb5dfaa0f6a.zip
CMake-da26b3be8948471dd2320d1e44af9eb5dfaa0f6a.tar.gz
CMake-da26b3be8948471dd2320d1e44af9eb5dfaa0f6a.tar.bz2
avoid adding multiple consecutive string literals to std::string
While at it change some single character additions to be of type char.
Diffstat (limited to 'Source/cmGeneratorTarget.cxx')
-rw-r--r--Source/cmGeneratorTarget.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmGeneratorTarget.cxx b/Source/cmGeneratorTarget.cxx
index 9412d82..d4f2da8 100644
--- a/Source/cmGeneratorTarget.cxx
+++ b/Source/cmGeneratorTarget.cxx
@@ -6442,8 +6442,7 @@ bool cmGeneratorTarget::NeedImportLibraryName(std::string const& config) const
std::string cmGeneratorTarget::GetSupportDirectory() const
{
std::string dir = this->LocalGenerator->GetCurrentBinaryDirectory();
- dir += "/CMakeFiles";
- dir += "/";
+ dir += "/CMakeFiles/";
dir += this->GetName();
#if defined(__VMS)
dir += "_dir";