]> wagner.pp.ru Git - openssl-gost/engine.git/commitdiff
Clang build fix
authorDmitry Belyavskiy <beldmit@gmail.com>
Thu, 6 Aug 2020 15:03:59 +0000 (18:03 +0300)
committerDmitry Belyavskiy <beldmit@gmail.com>
Thu, 6 Aug 2020 15:03:59 +0000 (18:03 +0300)
CMakeLists.txt

index 9bab8337f0f9ef9399cc5b9d31d4638a9ba20592..1d4d65b86de17edf15ba656cb0b8dab578af5487 100644 (file)
@@ -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")