summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorHannes Schulze <haschu0103@outlook.de>2025-01-23 22:38:06 +0100
committerHannes Schulze <haschu0103@outlook.de>2025-01-23 22:38:06 +0100
commita8fc40d4badfd73917171b081f57b88b80bd1e69 (patch)
tree6435f8bbcdaedaafdc188a848d4377f7b4457278 /CMakeLists.txt
parent0f24863561b7c609395b59ab73e634509d3111d8 (diff)
fix compiler warnings
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index abd4f29..095dbc2 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -26,6 +26,8 @@ target_compile_options(nes_options
-Wdouble-promotion
-Wformat=2
-Wswitch-enum
+ # extensions used
+ -Wno-nested-anon-types
-Wno-gnu-anonymous-struct)
if(APPLE)
# Use automatic reference counting for Objective-C code.