From 74cddec5438b5728a3493d90550bffef0d6ec59c Mon Sep 17 00:00:00 2001 From: Tim Sheerman-Chase Date: Fri, 21 Apr 2017 12:36:33 +0100 Subject: [PATCH] Disable compile warnings as errors to compile on ubuntu 11.10 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e1ac46a..1970c90 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -52,7 +52,7 @@ IF (CMAKE_COMPILER_IS_GNUCXX ) SET(CMAKE_CXX_FLAGS_RELEASE "-O3 -g") MESSAGE ("SSE 4.1 SUPPORT OFF") ENDIF() - ADD_DEFINITIONS("-Wall -Werror -Wno-unused-variable + ADD_DEFINITIONS("-Wall -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unknown-pragmas") ENDIF()