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/cmFindPackageCommand.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/cmFindPackageCommand.cxx')
-rw-r--r-- | Source/cmFindPackageCommand.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmFindPackageCommand.cxx b/Source/cmFindPackageCommand.cxx index 9ae1cb9..97ef481 100644 --- a/Source/cmFindPackageCommand.cxx +++ b/Source/cmFindPackageCommand.cxx @@ -663,7 +663,7 @@ bool cmFindPackageCommand::FindModule(bool& found) module += this->Name; module += ".cmake"; bool system = false; - std::string mfile = this->Makefile->GetModulesFile(module.c_str(), system); + std::string mfile = this->Makefile->GetModulesFile(module, system); if (!mfile.empty()) { if (system) { auto it = this->DeprecatedFindModules.find(this->Name); |