summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/CMakeLists.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt
index b6dc25f6b..db1c9fdef 100644
--- a/src/core/CMakeLists.txt
+++ b/src/core/CMakeLists.txt
@@ -630,9 +630,12 @@ else()
630 -Werror=implicit-fallthrough 630 -Werror=implicit-fallthrough
631 -Werror=reorder 631 -Werror=reorder
632 -Werror=sign-compare 632 -Werror=sign-compare
633 -Werror=unused-but-set-parameter
634 -Werror=unused-but-set-variable
635 -Werror=unused-variable 633 -Werror=unused-variable
634
635 $<$<CXX_COMPILER_ID:GNU>:-Werror=unused-but-set-parameter>
636 $<$<CXX_COMPILER_ID:GNU>:-Werror=unused-but-set-variable>
637
638 -Wno-sign-conversion
636 ) 639 )
637endif() 640endif()
638 641