summaryrefslogtreecommitdiff
path: root/Source/cmGlobalMinGWMakefileGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-10-13 10:22:45 -0400
committerBrad King <brad.king@kitware.com>2006-10-13 10:22:45 -0400
commit69356d8a7a73cc1a6842eef7fce552610e901dfe (patch)
tree9d0599f9eca8049160cadba0e1d48440f4f38c2c /Source/cmGlobalMinGWMakefileGenerator.cxx
parent023041362d714212d3dcdd39dddd1dd6b83c2ff7 (diff)
downloadcmake-69356d8a7a73cc1a6842eef7fce552610e901dfe.tar.gz
BUG: Juse use cmake -E echo instead of the native echo on MinGW makefiles. The echo; hack did not work when running from ctest.
Diffstat (limited to 'Source/cmGlobalMinGWMakefileGenerator.cxx')
-rw-r--r--Source/cmGlobalMinGWMakefileGenerator.cxx10
1 files changed, 3 insertions, 7 deletions
diff --git a/Source/cmGlobalMinGWMakefileGenerator.cxx b/Source/cmGlobalMinGWMakefileGenerator.cxx
index c024f6facb..30cb9483ba 100644
--- a/Source/cmGlobalMinGWMakefileGenerator.cxx
+++ b/Source/cmGlobalMinGWMakefileGenerator.cxx
@@ -70,13 +70,9 @@ cmLocalGenerator *cmGlobalMinGWMakefileGenerator::CreateLocalGenerator()
//
// @echo "message with spaces"
//
- // it runs but the quotes are displayed. Instead we can separate
- // with a semicolon
- //
- // @echo;message with spaces
- //
- // to hack around the problem.
- lg->SetNativeEchoCommand("@echo;");
+ // it runs but the quotes are displayed. Instead just use cmake to
+ // echo.
+ lg->SetNativeEchoCommand("@$(CMAKE_COMMAND) -E echo ", false);
return lg;
}