From 1907d53ddbefbc85ce3bdea8320ff7610f47f22a Mon Sep 17 00:00:00 2001 From: Vitaly Chikunov Date: Fri, 3 Dec 2021 11:54:40 +0300 Subject: [PATCH] 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 --- CMakeLists.txt | 5 ----- 1 file changed, 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) -- 2.39.2