diff options
| author | Nicolas James <nj3ahxac@gmail.com> | 2026-03-12 19:21:42 +1100 |
|---|---|---|
| committer | Nicolas James <nj3ahxac@gmail.com> | 2026-03-12 19:21:42 +1100 |
| commit | f16c927ab9083ac4d0ce38ec3b62ca8677055b90 (patch) | |
| tree | f8d130a4b3beb034ef83aa6ec1fcc748a279e56f /CMakeLists.txt | |
| parent | 8fb45371b8a0d47a387f9e0c50e7700af14e3a7e (diff) | |
Fix compiler warnings during release builds as a result of missing assertions
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 10 |
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 |
