diff options
author | Dmitry Belyavskiy <beldmit@gmail.com> | 2020-05-03 14:57:28 +0300 |
---|---|---|
committer | Dmitry Belyavskiy <beldmit@gmail.com> | 2020-05-04 15:49:45 +0300 |
commit | ba42a84e46de8367030b0770b33b9db3f1e1b610 (patch) | |
tree | 61e411814f07ee1bf5ed834573260860464bc23f /CMakeLists.txt | |
parent | 359bc05a9d4ee696f3a025ac0d35d27c89ea62ac (diff) | |
download | gost-engine-ba42a84e46de8367030b0770b33b9db3f1e1b610.zip gost-engine-ba42a84e46de8367030b0770b33b9db3f1e1b610.tar.gz gost-engine-ba42a84e46de8367030b0770b33b9db3f1e1b610.tar.bz2 |
No deprecation-related warnings
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 b035b28..ada8842 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14,7 +14,7 @@ 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) 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) + 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") add_definitions(-D_CRT_SECURE_NO_WARNINGS) add_definitions(-D_CRT_DEPRECATED_NO_WARNINGS) |