From ee2d756d940ddd798290e1539a08167d05397f7f Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Tue, 27 Nov 2018 00:04:55 -0800 Subject: Disable MSVC warning C4065 "switch statement contains 'default' but no 'case' labels" --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index c9f2e336..04617d32 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -244,7 +244,7 @@ ENDIF() IF(MSVC) SET(CPP_DEFS ${CPP_DEFS} _CRT_SECURE_NO_WARNINGS _CRT_NONSTDC_NO_DEPRECATE NOMINMAX) - SET(C_FLAGS ${C_FLAGS} /wd4098 /wd4200) + SET(C_FLAGS ${C_FLAGS} /wd4065 /wd4098 /wd4200) IF(NOT DXSDK_DIR) STRING(REGEX REPLACE "\\\\" "/" DXSDK_DIR "$ENV{DXSDK_DIR}") -- cgit v1.2.3