mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 17:18:59 +08:00
1afeba9029
* [gtest] Update version to 1.13.0 * Add fix for UWP
14 lines
597 B
Diff
14 lines
597 B
Diff
diff --git a/googletest/src/gtest.cc b/googletest/src/gtest.cc
|
|
index a64e887c..45ff24c3 100644
|
|
--- a/googletest/src/gtest.cc
|
|
+++ b/googletest/src/gtest.cc
|
|
@@ -5409,7 +5409,7 @@ int UnitTest::Run() {
|
|
// used for the duration of the program.
|
|
impl()->set_catch_exceptions(GTEST_FLAG_GET(catch_exceptions));
|
|
|
|
-#if GTEST_OS_WINDOWS
|
|
+#if GTEST_OS_WINDOWS && GTEST_HAS_DEATH_TEST
|
|
// Either the user wants Google Test to catch exceptions thrown by the
|
|
// tests or this is executing in the context of death test child
|
|
// process. In either case the user does not want to see pop-up dialogs
|