summaryrefslogtreecommitdiffhomepage
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-10-12 14:40:41 +0200
committerStanislaw Halik <sthalik@misaki.pl>2023-10-12 14:40:41 +0200
commitf69ac3abc8b306a3edf20daf00d92a28087156c9 (patch)
treeb6ec4fcd4b194b38402dc351d1dca7c9ba9131ae /CMakeLists.txt
parent4d1eb2ff20ac86533355702684bd69fe1ab46a8a (diff)
kill msvc warning
Diffstat (limited to 'CMakeLists.txt')
-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)