mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-22 06:59:01 -06:00
Complete rework of makefile generators expect trouble
This commit is contained in:
@@ -176,7 +176,6 @@ bool cmLoadCommandCommand::InitialPass(std::vector<std::string> const& argsIn)
|
||||
// the file must exist
|
||||
std::string fullPath = cmDynamicLoader::LibPrefix();
|
||||
fullPath += "cm" + argsIn[0] + cmDynamicLoader::LibExtension();
|
||||
|
||||
std::vector<std::string> args;
|
||||
cmSystemTools::ExpandListArguments(argsIn, args);
|
||||
|
||||
@@ -196,7 +195,10 @@ bool cmLoadCommandCommand::InitialPass(std::vector<std::string> const& argsIn)
|
||||
fullPath = cmSystemTools::FindFile(fullPath.c_str(), path);
|
||||
if (fullPath == "")
|
||||
{
|
||||
this->SetError("Attempt to load command failed.");
|
||||
fullPath = "Attempt to load command failed from file : ";
|
||||
fullPath += cmDynamicLoader::LibPrefix();
|
||||
fullPath += "cm" + argsIn[0] + cmDynamicLoader::LibExtension();
|
||||
this->SetError(fullPath.c_str());
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user