From f69ac3abc8b306a3edf20daf00d92a28087156c9 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 12 Oct 2023 14:40:41 +0200 Subject: kill msvc warning --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) 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) -- cgit v1.2.3