summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2002-09-19 20:09:57 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2002-09-19 20:09:57 (GMT)
commitc91629109bf83eee7d2a55c4dbdb0d0a5110a00c (patch)
tree5b534ea2f12650020046a334c44bdc8ce454e19b /Source/cmMakefile.cxx
parent5d0716439fc07bfa5e8605efa3fc8be5c98217ed (diff)
downloadCMake-c91629109bf83eee7d2a55c4dbdb0d0a5110a00c.zip
CMake-c91629109bf83eee7d2a55c4dbdb0d0a5110a00c.tar.gz
CMake-c91629109bf83eee7d2a55c4dbdb0d0a5110a00c.tar.bz2
Remove unnecessary disabling of output
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r--Source/cmMakefile.cxx18
1 files changed, 0 insertions, 18 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index 8dea2cb..106d373 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -1342,8 +1342,6 @@ int cmMakefile::TryCompile(const char *srcdir, const char *bindir,
const char *projectName, const char *targetName,
const std::vector<std::string> *cmakeArgs)
{
- bool output = cmSystemTools::GetRunCommandOutput();
- cmSystemTools::DisableRunCommandOutput();
// does the binary directory exist ? If not create it...
if (!cmSystemTools::FileIsDirectory(bindir))
{
@@ -1369,10 +1367,6 @@ int cmMakefile::TryCompile(const char *srcdir, const char *bindir,
"Internal CMake error, TryCompile bad GlobalGenerator");
// return to the original directory
cmSystemTools::ChangeDirectory(cwd.c_str());
- if ( output )
- {
- cmSystemTools::EnableRunCommandOutput();
- }
return 1;
}
cm.SetGlobalGenerator(gg);
@@ -1399,10 +1393,6 @@ int cmMakefile::TryCompile(const char *srcdir, const char *bindir,
"Internal CMake error, TryCompile configure of cmake failed");
// return to the original directory
cmSystemTools::ChangeDirectory(cwd.c_str());
- if ( output )
- {
- cmSystemTools::EnableRunCommandOutput();
- }
return 1;
}
@@ -1412,10 +1402,6 @@ int cmMakefile::TryCompile(const char *srcdir, const char *bindir,
"Internal CMake error, TryCompile generation of cmake failed");
// return to the original directory
cmSystemTools::ChangeDirectory(cwd.c_str());
- if ( output )
- {
- cmSystemTools::EnableRunCommandOutput();
- }
return 1;
}
@@ -1426,10 +1412,6 @@ int cmMakefile::TryCompile(const char *srcdir, const char *bindir,
targetName);
cmSystemTools::ChangeDirectory(cwd.c_str());
- if ( output )
- {
- cmSystemTools::EnableRunCommandOutput();
- }
return ret;
}