summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorLéo Lam <leo@leolam.fr>2020-12-09 17:15:41 +0100
committerLéo Lam <leo@leolam.fr>2020-12-09 17:15:41 +0100
commitcd10f3774bd1e08dd7126958303730407158dd79 (patch)
tree38f6cff88bc1c0ad7b310e526cacae29a93f0d13 /CMakeLists.txt
parentad32d1abe0fc202354042d46db924e227d7c26f6 (diff)
Ignore unused member warnings
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b9a1c9c4..dd2d9332 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -15,7 +15,8 @@ set(CMAKE_CXX_EXTENSIONS OFF)
add_executable(uking)
target_include_directories(uking PRIVATE src)
target_compile_options(uking PRIVATE -fno-rtti -fno-exceptions)
-target_compile_options(uking PRIVATE -Wall -Wextra -Wdeprecated -Wno-unused-parameter)
+target_compile_options(uking PRIVATE -Wall -Wextra -Wdeprecated)
+target_compile_options(uking PRIVATE -Wno-unused-parameter -Wno-unused-private-field)
target_compile_options(uking PRIVATE -fno-strict-aliasing)
target_compile_options(uking PRIVATE -Wno-invalid-offsetof)