diff options
| -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() |
