aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/cpp/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/cpp/BUILD')
-rw-r--r--src/main/cpp/BUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main/cpp/BUILD b/src/main/cpp/BUILD
index fc1880b5cb..8619eea015 100644
--- a/src/main/cpp/BUILD
+++ b/src/main/cpp/BUILD
@@ -82,7 +82,11 @@ cc_binary(
"global_variables.cc",
"global_variables.h",
"main.cc",
- ],
+ ] + select({
+ "//src:windows": ["//src/main/native/windows:resources"],
+ "//src:windows_msvc": ["//src/main/native/windows:resources"],
+ "//conditions:default": [],
+ }),
copts = select({
"//src:windows": ["/wd4018"],
"//src:windows_msvc": ["/wd4018"],