From 904438acf7d91cd7ec27e7e348d8ffa2b67e42f3 Mon Sep 17 00:00:00 2001 From: Robert Tari Date: Fri, 17 Dec 2021 09:55:43 +0100 Subject: Fix code to build with -Werror --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 1dbe04d..7195c77 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -28,6 +28,8 @@ if(ENABLE_WERROR) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror") endif() +add_definitions("-Wno-sign-compare") # Needed for GTest on Ubuntu + ## ## GNU standard installation directories ## -- cgit v1.2.3