summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalUnixMakefileGenerator3.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-06-10 17:03:37 (GMT)
committerBrad King <brad.king@kitware.com>2009-06-10 17:03:37 (GMT)
commitc8795101a47990842bd7e5c2163831d1fbe3c160 (patch)
treef037f0e1bef5557f181dd698916f88c84f9589fa /Source/cmLocalUnixMakefileGenerator3.cxx
parent516add4d58c50c34efb1db9931adcf362c5f7f10 (diff)
downloadCMake-c8795101a47990842bd7e5c2163831d1fbe3c160.zip
CMake-c8795101a47990842bd7e5c2163831d1fbe3c160.tar.gz
CMake-c8795101a47990842bd7e5c2163831d1fbe3c160.tar.bz2
ENH: Skip 'SHELL = /bin/sh' in Makefiles on VMS
This shell does not exist on VMS, so we leave it out.
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator3.cxx')
-rw-r--r--Source/cmLocalUnixMakefileGenerator3.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx
index df8a80f..094f462 100644
--- a/Source/cmLocalUnixMakefileGenerator3.cxx
+++ b/Source/cmLocalUnixMakefileGenerator3.cxx
@@ -676,10 +676,12 @@ cmLocalUnixMakefileGenerator3
}
else
{
+#if !defined(__VMS)
makefileStream
<< "# The shell in which to execute make rules.\n"
<< "SHELL = /bin/sh\n"
<< "\n";
+#endif
}
std::string cmakecommand =