From d6d36f6383160db3bd3f242512f5409ab950c3fb Mon Sep 17 00:00:00 2001 From: baldurk Date: Thu, 4 Aug 2016 18:53:08 +0200 Subject: [PATCH] Add -Wno-unused-result to get Release builds compiling. Refs #274 --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 95eadb837..08b285e5c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -28,8 +28,9 @@ if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang") -Wextra -Werror -Wno-unused-variable - -Wno-type-limits -Wno-unused-parameter + -Wno-unused-result + -Wno-type-limits -Wno-missing-field-initializers -Wno-unknown-pragmas -Wno-reorder)