From: Dmitry Belyavskiy Date: Thu, 6 Aug 2020 15:03:59 +0000 (+0300) Subject: Clang build fix X-Git-Tag: v3.0.0~79 X-Git-Url: http://wagner.pp.ru/gitweb/?a=commitdiff_plain;h=1b0efdb7e80106e8b20b56fa668a8b432a327604;p=openssl-gost%2Fengine.git Clang build fix --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 9bab833..1d4d65b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,7 +12,7 @@ find_package(OpenSSL 3.0 REQUIRED) include_directories(${OPENSSL_INCLUDE_DIR}) if (CMAKE_C_COMPILER_ID MATCHES "Clang") - add_compile_options(-O2 -Werror -Wall -Wno-unused-parameter -Wno-unused-function -Wno-missing-braces -ggdb -Qunused-arguments) + add_compile_options(-O2 -Werror -Wall -Wno-unused-parameter -Wno-unused-function -Wno-missing-braces -ggdb -Qunused-arguments -Wno-deprecated-declarations) elseif(CMAKE_C_COMPILER_ID MATCHES "GNU") add_compile_options(-O2 -Werror -Wall -Wno-unused-parameter -Wno-unused-function -Wno-missing-braces -ggdb -Wno-error=unknown-pragmas -Wno-deprecated-declarations) elseif(CMAKE_C_COMPILER_ID MATCHES "MSVC")