From ccf9431373abb1bc6f32b4b0f440290956686576 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Thu, 18 Jun 2026 20:28:05 +0200 Subject: ignore a deprecation warning --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 89e1cf6..9fc467e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,6 +6,8 @@ project(privilege_check CXX) if(MSVC) add_compile_options(/MP /W4 /WX) + # Allow GetVersionEx, can't be bothered to upgrade. + add_compile_options(/wd4996) else() add_compile_options(-Wall -Wextra -pedantic -Werror) endif() -- cgit v1.3