warning fix
This commit is contained in:
parent
ac188aa18b
commit
ce277b647b
@ -129,15 +129,15 @@ void cmGlobalGenerator::EnableLanguage(std::vector<std::string>const& languages,
|
|||||||
l != languages.end(); ++l)
|
l != languages.end(); ++l)
|
||||||
{
|
{
|
||||||
const char* lang = l->c_str();
|
const char* lang = l->c_str();
|
||||||
std::string src = m_ConfiguredFilesPath;
|
std::string src2 = m_ConfiguredFilesPath;
|
||||||
src += "/CMake";
|
src2 += "/CMake";
|
||||||
src += lang;
|
src2 += lang;
|
||||||
src += "Compiler.cmake";
|
src2 += "Compiler.cmake";
|
||||||
std::string dst = rootBin;
|
std::string dst2 = rootBin;
|
||||||
dst += "/CMake";
|
dst2 += "/CMake";
|
||||||
dst += lang;
|
dst2 += lang;
|
||||||
dst += "Compiler.cmake";
|
dst2 += "Compiler.cmake";
|
||||||
cmSystemTools::CopyFileIfDifferent(src.c_str(), dst.c_str());
|
cmSystemTools::CopyFileIfDifferent(src2.c_str(), dst2.c_str());
|
||||||
}
|
}
|
||||||
rootBin = m_ConfiguredFilesPath;
|
rootBin = m_ConfiguredFilesPath;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user