ENH: do not output make install rules on windows because they do not work
This commit is contained in:
parent
d9b8768e3b
commit
60f9816f96
@ -2200,6 +2200,11 @@ void cmLocalUnixMakefileGenerator::OutputMakeVariables(std::ostream& fout)
|
|||||||
|
|
||||||
void cmLocalUnixMakefileGenerator::OutputInstallRules(std::ostream& fout)
|
void cmLocalUnixMakefileGenerator::OutputInstallRules(std::ostream& fout)
|
||||||
{
|
{
|
||||||
|
// Install is not currently supported on windows
|
||||||
|
if(m_WindowsShell)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
const char* root
|
const char* root
|
||||||
= m_Makefile->GetDefinition("CMAKE_ROOT");
|
= m_Makefile->GetDefinition("CMAKE_ROOT");
|
||||||
fout << "INSTALL = \"" << root << "/Templates/install-sh\" -c\n";
|
fout << "INSTALL = \"" << root << "/Templates/install-sh\" -c\n";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user