aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorVitaly Chikunov <vt@altlinux.org>2021-12-03 11:54:40 +0300
committerDmitry Belyavskiy <beldmit@users.noreply.github.com>2021-12-11 19:45:14 +0300
commit1907d53ddbefbc85ce3bdea8320ff7610f47f22a (patch)
treeda3902f8c66c3c3ec919741c69b173d1642bb0b8 /CMakeLists.txt
parenta8ba96bcbcbd5e1dab9af83396c9c6f4eabab423 (diff)
downloadgost-engine-1907d53ddbefbc85ce3bdea8320ff7610f47f22a.zip
gost-engine-1907d53ddbefbc85ce3bdea8320ff7610f47f22a.tar.gz
gost-engine-1907d53ddbefbc85ce3bdea8320ff7610f47f22a.tar.bz2
MSVC: Undo adding `-Wno-error=deprecated-declarations`
Since they are now global. Error message: cl : command line error D8021: invalid numeric argument '/Wno-error=deprecated-declarations' Fixes: 5dfb598 ("CMakeLists.txt: Workaround openssl deprecation of HMAC and CMAC primitives") Signed-off-by: Vitaly Chikunov <vt@altlinux.org>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt5
1 files changed, 0 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a729a20..2616196 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -43,11 +43,6 @@ if (ASAN)
set(SKIP_PERL_TESTS 1)
endif()
-# DEPRECATEDIN_3_0 CMAC
-set_source_files_properties(gost_omac.c PROPERTIES COMPILE_FLAGS -Wno-error=deprecated-declarations)
-# DEPRECATEDIN_3_0 HMAC
-set_source_files_properties(gost_keyexpimp.c PROPERTIES COMPILE_FLAGS -Wno-error=deprecated-declarations)
-
set(CMAKE_C_STANDARD 90)
CHECK_FUNCTION_EXISTS(clock_gettime HAVE_CLOCK_GETTIME_C)
CHECK_LIBRARY_EXISTS(rt clock_gettime "" HAVE_CLOCK_GETTIME_RT)