diff options
author | Vitaly Chikunov <vt@altlinux.org> | 2021-12-03 11:53:17 +0300 |
---|---|---|
committer | Dmitry Belyavskiy <beldmit@users.noreply.github.com> | 2021-12-11 19:45:14 +0300 |
commit | a8ba96bcbcbd5e1dab9af83396c9c6f4eabab423 (patch) | |
tree | f7ad6f6c5a7f026eeed587ba8c582f644de3f83f /CMakeLists.txt | |
parent | ea9884745777b84bc59bc211e5ac2b65d7aa254a (diff) | |
download | gost-engine-a8ba96bcbcbd5e1dab9af83396c9c6f4eabab423.zip gost-engine-a8ba96bcbcbd5e1dab9af83396c9c6f4eabab423.tar.gz gost-engine-a8ba96bcbcbd5e1dab9af83396c9c6f4eabab423.tar.bz2 |
MSVC: Disable deprecated declarations (C4996) warning
`/wd4996' disables deprecated declarations warning, this is analogous to
`-Wno-error=deprecated-declarations'. Error example:
gost_pmeth.c(39,17): warning C4996: 'EVP_PKEY_get0': Since OpenSSL 3.0
Signed-off-by: Vitaly Chikunov <vt@altlinux.org>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index f46fca3..a729a20 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -34,7 +34,7 @@ elseif(CMAKE_C_COMPILER_ID MATCHES "MSVC") add_definitions(-D_CRT_SECURE_NO_WARNINGS) add_definitions(-D_CRT_DEPRECATED_NO_WARNINGS) add_definitions(-D_CRT_NONSTDC_NO_WARNINGS) - add_compile_options(/MP /WX /W4 /wd4100 /wd4267 /wd4206 /wd4706 /wd4244 /wd4115) + add_compile_options(/MP /WX /W4 /wd4100 /wd4267 /wd4206 /wd4706 /wd4244 /wd4115 /wd4996) endif() if (ASAN) |