diff --git a/CMakeLists.txt b/CMakeLists.txt index f0fcfd10a..d9e1a4f49 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -247,7 +247,7 @@ else() add_compile_options($<$:-fno-rtti> $<$:-fno-exceptions> -Wall -Wno-multichar -Werror=implicit-fallthrough - -Wno-unused-variable -Wno-unused-result + -Wno-unused-variable -Wno-unused-result -Wno-unused-but-set-variable -Wno-unused-function -Wno-sign-compare -Wno-unknown-pragmas -Werror) # doesn't work with generator expression in add_compile_options? if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang" OR "${CMAKE_CXX_COMPILER_ID}" STREQUAL "AppleClang")