summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/video_core/CMakeLists.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/video_core/CMakeLists.txt b/src/video_core/CMakeLists.txt
index 3df54816d..77ebac19f 100644
--- a/src/video_core/CMakeLists.txt
+++ b/src/video_core/CMakeLists.txt
@@ -278,7 +278,9 @@ else()
278 -Wno-error=sign-conversion 278 -Wno-error=sign-conversion
279 -Werror=switch 279 -Werror=switch
280 -Werror=unused-variable 280 -Werror=unused-variable
281 -Werror=unused-but-set-variable 281
282 -Werror=class-memaccess 282 $<$<CXX_COMPILER_ID:GNU>:-Werror=class-memaccess>
283 $<$<CXX_COMPILER_ID:GNU>:-Werror=unused-but-set-parameter>
284 $<$<CXX_COMPILER_ID:GNU>:-Werror=unused-but-set-variable>
283 ) 285 )
284endif() 286endif()