cmMakefile: GetModulesFile() accepts std::string param

This commit is contained in:
Vitaly Stakhovsky
2019-01-21 12:56:51 -05:00
parent 02f7e997e9
commit 2993fc347a
6 changed files with 20 additions and 25 deletions
+1 -1
View File
@@ -67,7 +67,7 @@ bool cmIncludeCommand::InitialPass(std::vector<std::string> const& args,
// Not a path. Maybe module.
std::string module = fname;
module += ".cmake";
std::string mfile = this->Makefile->GetModulesFile(module.c_str());
std::string mfile = this->Makefile->GetModulesFile(module);
if (!mfile.empty()) {
fname = mfile;
}