From b2bebc5cad456f6d618053ffd959e979ebca156b Mon Sep 17 00:00:00 2001 From: R4SAS Date: Tue, 14 Nov 2017 06:56:50 +0300 Subject: [PATCH] try to make cmake silent --- build/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/CMakeLists.txt b/build/CMakeLists.txt index 1f18beb7..b116bd56 100644 --- a/build/CMakeLists.txt +++ b/build/CMakeLists.txt @@ -174,7 +174,7 @@ if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU") set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pipe") if (WITH_HARDENING) add_definitions( "-D_FORTIFY_SOURCE=2" ) - set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wformat -Wformat-security -Werror=format-security" ) + set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wformat -Wformat-security -Werror=format-security -Wno-unused-parameter" ) set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fstack-protector --param ssp-buffer-size=4" ) endif () elseif (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")