From 3714af4a5351f511cef45c206a33bc7eae3ccaee Mon Sep 17 00:00:00 2001 From: Ingo Ruhnke Date: Wed, 30 Jul 2014 05:11:25 +0200 Subject: [PATCH] Added -Wno-unused-parameter to disable annoying compiler warning --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 824db540a..1add6ff93 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -240,7 +240,7 @@ IF(CMAKE_COMPILER_IS_GNUCC) SET(CMAKE_CXX_FLAGS_PROFILE "-pg" CACHE STRING "Profile flags") SET(CMAKE_C_FLAGS_PROFILE "-pg" CACHE STRING "Profile flags") SET(CMAKE_LD_FLAGS_PROFILE "-lgmon" CACHE STRING "Profile flags") - ADD_DEFINITIONS(-Wall -Wextra -funit-at-a-time) + ADD_DEFINITIONS(-Wall -Wextra -Wno-unused-parameter -funit-at-a-time) IF(WERROR) ADD_DEFINITIONS(-Werror) ELSE(WERROR) -- 2.11.0