summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-06-08 14:17:58 -0400
committerBrad King <brad.king@kitware.com>2015-06-08 14:17:58 -0400
commit40e1ed9f9d0aa6b4e33bbbf71eece5175e098c8d (patch)
tree203248fc5634df5cfbe815ec137948fe5a0ff90c
parentc279078f14bf3cdcae945d234e33b9b4027173eb (diff)
parent12436efc1483e8e0e5fd6ce616c0b8ed94af72a3 (diff)
downloadcmake-40e1ed9f9d0aa6b4e33bbbf71eece5175e098c8d.tar.gz
Merge branch 'ctest-script-mode-no-legacy-cygwin' into release
-rw-r--r--Source/CTest/cmCTestScriptHandler.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestScriptHandler.cxx b/Source/CTest/cmCTestScriptHandler.cxx
index 1e493b02bc..047bd98352 100644
--- a/Source/CTest/cmCTestScriptHandler.cxx
+++ b/Source/CTest/cmCTestScriptHandler.cxx
@@ -421,6 +421,10 @@ int cmCTestScriptHandler::ReadInScript(const std::string& total_script_arg)
this->Makefile->AddDefinition("CTEST_SCRIPT_ARG", script_arg.c_str());
}
+#if defined(__CYGWIN__)
+ this->Makefile->AddDefinition("CMAKE_LEGACY_CYGWIN_WIN32", "0");
+#endif
+
// always add a function blocker to update the elapsed time
cmCTestScriptFunctionBlocker *f = new cmCTestScriptFunctionBlocker();
f->CTestScriptHandler = this;