diff options
author | Brad King <brad.king@kitware.com> | 2018-08-28 17:42:41 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2018-08-28 17:43:48 (GMT) |
commit | 9da844d8cbbd2c525265a551421dbf126ef328d1 (patch) | |
tree | 9fd769530113738b78a66da8a6cf97089543266e /Source/cmGlobalNinjaGenerator.cxx | |
parent | 6f7c96fb178a290934b5b91c919ddff143d8b542 (diff) | |
parent | 50fbfee3a02e7099a3909d81597f4b8047847ece (diff) | |
download | CMake-9da844d8cbbd2c525265a551421dbf126ef328d1.zip CMake-9da844d8cbbd2c525265a551421dbf126ef328d1.tar.gz CMake-9da844d8cbbd2c525265a551421dbf126ef328d1.tar.bz2 |
Merge topic 'lg-directory'
50fbfee3a0 cmLocalGenerator: return directories as const std::string&
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2309
Diffstat (limited to 'Source/cmGlobalNinjaGenerator.cxx')
-rw-r--r-- | Source/cmGlobalNinjaGenerator.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmGlobalNinjaGenerator.cxx b/Source/cmGlobalNinjaGenerator.cxx index 677a340..0c80910 100644 --- a/Source/cmGlobalNinjaGenerator.cxx +++ b/Source/cmGlobalNinjaGenerator.cxx @@ -1011,8 +1011,7 @@ void cmGlobalNinjaGenerator::AppendTargetDepends( std::set<std::string> const& utils = target->GetUtilities(); for (std::string const& util : utils) { std::string d = - target->GetLocalGenerator()->GetCurrentBinaryDirectory() + - std::string("/") + util; + target->GetLocalGenerator()->GetCurrentBinaryDirectory() + "/" + util; outputs.push_back(this->ConvertToNinjaPath(d)); } } else { |