summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalUnixMakefileGenerator.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2003-08-06 16:52:17 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2003-08-06 16:52:17 (GMT)
commit60f9816f965a584f72ee9885d318ecb8faa418b8 (patch)
treecc2c2755be8fd412710334056e762fca375069a7 /Source/cmLocalUnixMakefileGenerator.cxx
parentd9b8768e3b514ed0aef56b6b7aac7c5b05dac64e (diff)
downloadCMake-60f9816f965a584f72ee9885d318ecb8faa418b8.zip
CMake-60f9816f965a584f72ee9885d318ecb8faa418b8.tar.gz
CMake-60f9816f965a584f72ee9885d318ecb8faa418b8.tar.bz2
ENH: do not output make install rules on windows because they do not work
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator.cxx')
-rw-r--r--Source/cmLocalUnixMakefileGenerator.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator.cxx b/Source/cmLocalUnixMakefileGenerator.cxx
index 0212fcc..4c6752f 100644
--- a/Source/cmLocalUnixMakefileGenerator.cxx
+++ b/Source/cmLocalUnixMakefileGenerator.cxx
@@ -2200,6 +2200,11 @@ void cmLocalUnixMakefileGenerator::OutputMakeVariables(std::ostream& fout)
void cmLocalUnixMakefileGenerator::OutputInstallRules(std::ostream& fout)
{
+ // Install is not currently supported on windows
+ if(m_WindowsShell)
+ {
+ return;
+ }
const char* root
= m_Makefile->GetDefinition("CMAKE_ROOT");
fout << "INSTALL = \"" << root << "/Templates/install-sh\" -c\n";