diff options
author | Vitaly Stakhovsky <vvs31415@gitlab.org> | 2019-01-21 17:56:51 (GMT) |
---|---|---|
committer | Vitaly Stakhovsky <vvs31415@gitlab.org> | 2019-01-21 17:56:51 (GMT) |
commit | 2993fc347af5db802721f1bbe0a0e05d19a28e89 (patch) | |
tree | ee8db722bd720ec04c454d113215377dc38165c6 /Source/cmLocalGenerator.cxx | |
parent | 02f7e997e939dbd0c753514edcd580083cebd37c (diff) | |
download | CMake-2993fc347af5db802721f1bbe0a0e05d19a28e89.zip CMake-2993fc347af5db802721f1bbe0a0e05d19a28e89.tar.gz CMake-2993fc347af5db802721f1bbe0a0e05d19a28e89.tar.bz2 |
cmMakefile: GetModulesFile() accepts std::string param
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r-- | Source/cmLocalGenerator.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx index 97e684b..09537bb 100644 --- a/Source/cmLocalGenerator.cxx +++ b/Source/cmLocalGenerator.cxx @@ -2783,7 +2783,7 @@ void cmLocalGenerator::GenerateAppleInfoPList(cmGeneratorTarget* target, const char* in = target->GetProperty("MACOSX_BUNDLE_INFO_PLIST"); std::string inFile = (in && *in) ? in : "MacOSXBundleInfo.plist.in"; if (!cmSystemTools::FileIsFullPath(inFile)) { - std::string inMod = this->Makefile->GetModulesFile(inFile.c_str()); + std::string inMod = this->Makefile->GetModulesFile(inFile); if (!inMod.empty()) { inFile = inMod; } @@ -2821,7 +2821,7 @@ void cmLocalGenerator::GenerateFrameworkInfoPList( const char* in = target->GetProperty("MACOSX_FRAMEWORK_INFO_PLIST"); std::string inFile = (in && *in) ? in : "MacOSXFrameworkInfo.plist.in"; if (!cmSystemTools::FileIsFullPath(inFile)) { - std::string inMod = this->Makefile->GetModulesFile(inFile.c_str()); + std::string inMod = this->Makefile->GetModulesFile(inFile); if (!inMod.empty()) { inFile = inMod; } |