Skip to content

Commit

Permalink
don't use /WX flag when compiling for visual studio
Browse files Browse the repository at this point in the history
  • Loading branch information
coornio committed Aug 26, 2024
1 parent 483fddc commit 2f18143
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ target_link_libraries(CubeChipSDL PRIVATE SDL3::SDL3-shared)

if(MSVC)
# MSVC compiler options.
target_compile_options(CubeChipSDL PRIVATE /W4 /WX /std:c++latest)
target_compile_options(CubeChipSDL PRIVATE /W4 /std:c++latest)
else()
# Everything else.
target_compile_options(CubeChipSDL PRIVATE -Wall -Wextra --std=c++23)
Expand Down

0 comments on commit 2f18143

Please sign in to comment.