summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-06-08 18:17:58 (GMT)
committerBrad King <brad.king@kitware.com>2015-06-08 18:17:58 (GMT)
commit40e1ed9f9d0aa6b4e33bbbf71eece5175e098c8d (patch)
tree203248fc5634df5cfbe815ec137948fe5a0ff90c
parentc279078f14bf3cdcae945d234e33b9b4027173eb (diff)
parent12436efc1483e8e0e5fd6ce616c0b8ed94af72a3 (diff)
downloadCMake-40e1ed9f9d0aa6b4e33bbbf71eece5175e098c8d.zip
CMake-40e1ed9f9d0aa6b4e33bbbf71eece5175e098c8d.tar.gz
CMake-40e1ed9f9d0aa6b4e33bbbf71eece5175e098c8d.tar.bz2
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 1e493b0..047bd98 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;