diff options
author | Vitaly Stakhovsky <vvs31415@gitlab.org> | 2019-12-14 14:30:00 (GMT) |
---|---|---|
committer | Vitaly Stakhovsky <vvs31415@gitlab.org> | 2019-12-14 14:30:28 (GMT) |
commit | c34b4497f8d595390d8e5a9d216de9ddc95a47eb (patch) | |
tree | 51662f8532e04391c56d3fcd245ec2069e93a1bd /Source/cmQtAutoGenInitializer.cxx | |
parent | 2d53894c31c9d6849c67f4c218c0aefed1eb7921 (diff) | |
download | CMake-c34b4497f8d595390d8e5a9d216de9ddc95a47eb.zip CMake-c34b4497f8d595390d8e5a9d216de9ddc95a47eb.tar.gz CMake-c34b4497f8d595390d8e5a9d216de9ddc95a47eb.tar.bz2 |
cmTarget: add std::string overloads
Diffstat (limited to 'Source/cmQtAutoGenInitializer.cxx')
-rw-r--r-- | Source/cmQtAutoGenInitializer.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmQtAutoGenInitializer.cxx b/Source/cmQtAutoGenInitializer.cxx index 42979af..8a20c0e 100644 --- a/Source/cmQtAutoGenInitializer.cxx +++ b/Source/cmQtAutoGenInitializer.cxx @@ -1140,7 +1140,7 @@ bool cmQtAutoGenInitializer::InitAutogenTarget() // Set FOLDER property in autogen target if (!this->TargetsFolder.empty()) { - autogenTarget->SetProperty("FOLDER", this->TargetsFolder.c_str()); + autogenTarget->SetProperty("FOLDER", this->TargetsFolder); } // Add autogen target to the origin target dependencies @@ -1209,7 +1209,7 @@ bool cmQtAutoGenInitializer::InitRccTargets() // Set FOLDER property in autogen target if (!this->TargetsFolder.empty()) { - autoRccTarget->SetProperty("FOLDER", this->TargetsFolder.c_str()); + autoRccTarget->SetProperty("FOLDER", this->TargetsFolder); } if (!this->Rcc.ExecutableTargetName.empty()) { autoRccTarget->AddUtility(this->Rcc.ExecutableTargetName, @@ -1521,8 +1521,8 @@ bool cmQtAutoGenInitializer::AddToSourceGroup(std::string const& fileName, void cmQtAutoGenInitializer::AddCleanFile(std::string const& fileName) { - this->GenTarget->Target->AppendProperty("ADDITIONAL_CLEAN_FILES", - fileName.c_str(), false); + this->GenTarget->Target->AppendProperty("ADDITIONAL_CLEAN_FILES", fileName, + false); } void cmQtAutoGenInitializer::ConfigFileNames(ConfigString& configString, |