summaryrefslogtreecommitdiffstats
path: root/external
diff options
context:
space:
mode:
authorJay Kwak <82421531+jkwak-work@users.noreply.github.com>2024-07-18 14:31:27 -0700
committerGitHub <noreply@github.com>2024-07-18 14:31:27 -0700
commitbe66cc88acebe87e175659df1afc2e4586ed8958 (patch)
tree6f3e07cc0017e7d1483c176c1144829db47b375d /external
parentad379b7c532bef5ac49e6d730027ac8751e618d7 (diff)
Enable warnings-as-error for CI (#4659)
Enable warnings-as-error for CI Closes #4664. Uses glslang commit that fixed a compiler warning Fixes a recent warning from external/CMakelist.txt A new macro, `SLANG_MAYBE_UNUSED` is added for a future need.
Diffstat (limited to 'external')
-rw-r--r--external/CMakeLists.txt6
m---------external/glslang0
2 files changed, 6 insertions, 0 deletions
diff --git a/external/CMakeLists.txt b/external/CMakeLists.txt
index 72a27285e..3ad07f10a 100644
--- a/external/CMakeLists.txt
+++ b/external/CMakeLists.txt
@@ -26,6 +26,12 @@ endif()
# LZ4
set(LZ4_BUNDLED_MODE ON)
add_subdirectory(lz4/build/cmake EXCLUDE_FROM_ALL SYSTEM)
+if(MSVC)
+ target_compile_options(
+ lz4_static
+ PRIVATE /wd5045 /wd4820 /wd4711 /wd6385 /wd6262
+ )
+endif()
# Vulkan headers
add_subdirectory(vulkan EXCLUDE_FROM_ALL SYSTEM)
diff --git a/external/glslang b/external/glslang
-Subproject 4c20dc0cbb3b20d2afb9ee8595a39508f106662
+Subproject d86ef8a6e2b10508266ec8d63d64e866479d70d