aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2026-06-18 20:28:05 +0200
committerEgor Tensin <egor@tensin.name>2026-06-18 20:28:05 +0200
commitccf9431373abb1bc6f32b4b0f440290956686576 (patch)
tree2d0a62679e655cc3e02c796dd2a18a7da47dd526 /CMakeLists.txt
parentfix a compiler warning (diff)
downloadprivilege-check-ccf9431373abb1bc6f32b4b0f440290956686576.tar.gz
privilege-check-ccf9431373abb1bc6f32b4b0f440290956686576.zip
ignore a deprecation warning
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
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()