From 1affa8a7698fab541ffe0a4383b089f3738eeffc Mon Sep 17 00:00:00 2001 From: RobinTF <83676088+RobinTF@users.noreply.github.com> Date: Fri, 15 Nov 2024 12:36:42 +0100 Subject: [PATCH] Suppress compiler warnings --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 93b36e3105..0503cd210f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -323,7 +323,7 @@ FetchContent_Declare( ################################ FetchContent_MakeAvailable(googletest ctre abseil re2 stxxl fsst s2 nlohmann-json antlr) # Disable some warnings in RE2, STXXL, and GTEST -target_compile_options(s2 PRIVATE -Wno-sign-compare -Wno-unused-parameter -Wno-class-memaccess -Wno-comment -Wno-redundant-move -Wno-unknown-warning-option -Wno-maybe-uninitialized -Wno-class-memaccess) +target_compile_options(s2 PRIVATE -Wno-sign-compare -Wno-unused-parameter -Wno-class-memaccess -Wno-comment -Wno-redundant-move -Wno-unknown-warning-option -Wno-maybe-uninitialized -Wno-class-memaccess -Wno-unused-but-set-variable -Wno-unused-function) target_compile_options(re2 PRIVATE -Wno-unused-parameter) target_compile_options(stxxl PRIVATE -Wno-deprecated-declarations) if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")