diff options
| author | Egor Tensin <egor@tensin.name> | 2026-06-18 20:28:05 +0200 |
|---|---|---|
| committer | Egor Tensin <egor@tensin.name> | 2026-06-18 20:28:05 +0200 |
| commit | ccf9431373abb1bc6f32b4b0f440290956686576 (patch) | |
| tree | 2d0a62679e655cc3e02c796dd2a18a7da47dd526 /CMakeLists.txt | |
| parent | fix a compiler warning (diff) | |
| download | privilege-check-ccf9431373abb1bc6f32b4b0f440290956686576.tar.gz privilege-check-ccf9431373abb1bc6f32b4b0f440290956686576.zip | |
ignore a deprecation warning
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 2 |
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() |
