X-Git-Url: http://www.wagner.pp.ru/gitweb/?a=blobdiff_plain;f=CMakeLists.txt;h=198d746d32821a12eddaa3869bf1dc9392ec226d;hb=b629c446ff7246e526999bfdd2657e774faf306f;hp=261decdd19f79ea0703374eba243e41105a63605;hpb=2b54b560af21d996a0583766136e8a21da8019a7;p=openssl-gost%2Fengine.git diff --git a/CMakeLists.txt b/CMakeLists.txt index 261decd..198d746 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,7 +11,7 @@ find_package(OpenSSL 1.1.1 REQUIRED) include_directories(${OPENSSL_INCLUDE_DIR}) if (CMAKE_C_COMPILER_ID MATCHES "Clang") - add_compile_options(-Qunused-arguments) + 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) elseif(CMAKE_C_COMPILER_ID MATCHES "MSVC")