diff options
author | Brad King <brad.king@kitware.com> | 2019-12-17 16:08:06 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2019-12-17 16:09:20 (GMT) |
commit | 64e2891cbddcfa491b9158e479db16114aeabc33 (patch) | |
tree | be5274274d66e083fe265e50380e36037e2a8e26 /Source/cmLocalGenerator.cxx | |
parent | 7d69ab02adcad7baf72facd2c29ef232d230ce01 (diff) | |
parent | c34b4497f8d595390d8e5a9d216de9ddc95a47eb (diff) | |
download | CMake-64e2891cbddcfa491b9158e479db16114aeabc33.zip CMake-64e2891cbddcfa491b9158e479db16114aeabc33.tar.gz CMake-64e2891cbddcfa491b9158e479db16114aeabc33.tar.bz2 |
Merge topic 'stdstring-target'
c34b4497f8 cmTarget: add std::string overloads
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4137
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r-- | Source/cmLocalGenerator.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx index 18e43bf..45eb113 100644 --- a/Source/cmLocalGenerator.cxx +++ b/Source/cmLocalGenerator.cxx @@ -2551,7 +2551,7 @@ void cmLocalGenerator::AddPchDependencies(cmGeneratorTarget* target) } target->Target->SetProperty("COMPILE_PDB_OUTPUT_DIRECTORY", - target_compile_pdb_dir.c_str()); + target_compile_pdb_dir); } std::string pchSourceObj = @@ -2560,8 +2560,7 @@ void cmLocalGenerator::AddPchDependencies(cmGeneratorTarget* target) // Link to the pch object file target->Target->AppendProperty( "LINK_FLAGS", - cmStrCat(" ", this->ConvertToOutputFormat(pchSourceObj, SHELL)) - .c_str(), + cmStrCat(" ", this->ConvertToOutputFormat(pchSourceObj, SHELL)), true); } } else { |