diff options
Diffstat (limited to 'BUILD.bazel')
-rw-r--r-- | BUILD.bazel | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/BUILD.bazel b/BUILD.bazel index 965c518..3c9a228 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -39,6 +39,11 @@ licenses(["notice"]) exports_files(["LICENSE"]) config_setting( + name = "qnx", + constraint_values = ["@platforms//os:qnx"], +) + +config_setting( name = "windows", constraint_values = ["@platforms//os:windows"], ) @@ -86,6 +91,7 @@ cc_library( "googlemock/include/gmock/*.h", ]), copts = select({ + ":qnx": [], ":windows": [], "//conditions:default": ["-pthread"], }), @@ -104,6 +110,7 @@ cc_library( "googletest/include", ], linkopts = select({ + ":qnx": [], ":windows": [], "//conditions:default": ["-pthread"], }), |