Skip to content

Commit be04651

Browse files
Enable exceptions in glslang
This fixes vftable size mismatch warnings on MSVC
1 parent b620da6 commit be04651

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ThirdParty/CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,7 @@ if (VULKAN_SUPPORTED OR METAL_SUPPORTED OR WEBGPU_SUPPORTED OR (ARCHIVER_SUPPORT
7171
if (NOT ${DILIGENT_NO_GLSLANG} AND (NOT TARGET glslang))
7272
set(ENABLE_GLSLANG_BINARIES OFF CACHE BOOL "Do not build glslang binaries")
7373
set(ENABLE_SPVREMAPPER OFF CACHE BOOL "Do not build SPIRV remapper")
74-
set(SKIP_GLSLANG_INSTALL ON CACHE BOOL "Skip glslang installation")
75-
set(ENABLE_CTEST OFF CACHE BOOL "Disable testing")
74+
set(ENABLE_EXCEPTIONS ON CACHE BOOL "Enable exceptions")
7675
if (PLATFORM_WEB)
7776
# Optimization has to be disabled on Web, see build instructions on https://github.com/KhronosGroup/glslang
7877
set(ENABLE_OPT OFF)

0 commit comments

Comments
 (0)