diff options
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 42c658e..cd0d6c3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,6 +8,10 @@ enable_testing() if (MSVC) add_compile_options("$<$<NOT:$<COMPILE_LANGUAGE:ASM,ASM_MASM>>:/MP;/W4;/WX>") + + # > structure was padded due to alignment specifier + # So what? + add_compile_options("/wd4324") else() add_compile_options("$<$<NOT:$<COMPILE_LANGUAGE:ASM,ASM_MASM>>:-Wall;-Wextra;-pedantic;-Werror>") endif() |
