diff options
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index ec4d307..39e087b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
| @@ -18,7 +18,8 @@ target_include_directories(swgfx PUBLIC | |||
| 18 | target_link_libraries(swgfx PRIVATE | 18 | target_link_libraries(swgfx PRIVATE |
| 19 | math) | 19 | math) |
| 20 | 20 | ||
| 21 | target_compile_options(swgfx PRIVATE -Wall -Wextra) | 21 | # Using -Wno-missing-braces to conveniently union xyzw and rgba without warnings. |
| 22 | target_compile_options(swgfx PRIVATE -Wall -Wextra -Wno-missing-braces) | ||
| 22 | 23 | ||
| 23 | # Tests. | 24 | # Tests. |
| 24 | 25 | ||
