mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-02 04:09:33 -05:00
cmMakefile: GetModulesFile() accepts std::string param
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user