From fbbe83fc8d52e12bfe91ed01e49c1353cff94cc5 Mon Sep 17 00:00:00 2001 From: Shuduo Sang Date: Thu, 24 Feb 2022 13:08:21 +0800 Subject: [PATCH] [TD-13671]: gcc 11 compile error on 3.0 (#10381) --- contrib/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/contrib/CMakeLists.txt b/contrib/CMakeLists.txt index 074014b0d7..21b8b661df 100644 --- a/contrib/CMakeLists.txt +++ b/contrib/CMakeLists.txt @@ -193,6 +193,7 @@ endif(${BUILD_WITH_TRAFT}) # LIBUV if(${BUILD_WITH_UV}) + add_compile_options(-Wno-sign-compare) add_subdirectory(libuv) endif(${BUILD_WITH_UV})