summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3527e04f..7f6b7b01 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -129,6 +129,7 @@ if(MSVC)
-wd4127 # warning C4127: conditional expression is constant
-wd4554 # warning C4554: '<<': check operator precedence for possible error; use parentheses to clarify precedence
-wd4146 # warning C4146: unary minus operator applied to unsigned type, result still unsigned
+ -wd4197 # warning C4197: 'volatile int': top-level volatile in cast is ignored
)
add_definitions(-utf-8)
if(CMAKE_SIZEOF_VOID_P GREATER_EQUAL 8)