aboutsummaryrefslogtreecommitdiffstats
path: root/BUILD.bazel
diff options
context:
space:
mode:
Diffstat (limited to 'BUILD.bazel')
-rw-r--r--BUILD.bazel6
1 files changed, 3 insertions, 3 deletions
diff --git a/BUILD.bazel b/BUILD.bazel
index 97315042..35123b84 100644
--- a/BUILD.bazel
+++ b/BUILD.bazel
@@ -94,10 +94,10 @@ cc_library(
],
),
hdrs = GTEST_HDRS,
- copts = ["-fexceptions"] + select(
+ copts = select(
{
- ":win": [],
- "//conditions:default": ["-pthread"],
+ ":win": ["-DGTEST_ENABLE_CATCH_EXCEPTIONS_=1"],
+ "//conditions:default": ["-fexceptions","-pthread"],
},
),
includes = [