aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2e4188a..a82394d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -49,15 +49,15 @@ target_compile_options(${LIBRARY_NAME} PRIVATE
-D__STDC_FORMAT_MACROS
-D__STDC_LIMIT_MACROS
- # Things I like.
-Wall
-Wextra
- -Wundef
- -Wconversion
- -Wdouble-promotion
-
-Wno-unused-parameter
-Wno-unused-function
-Wno-sign-conversion
-Wno-missing-field-initializers
+ $<$<NOT:$<CONFIG:Debug>>:-Wno-unused-variable -Wno-unused-but-set-variable>
+
+ -Wundef
+ -Wconversion
+ -Wdouble-promotion
) \ No newline at end of file