Skip to content

Commit 97d31fa

Browse files
committed
Do not add /WX globally
1 parent 5180293 commit 97d31fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ endif()
4242

4343
# Enable compiler warnings
4444
if (MSVC)
45-
add_compile_options(/W4 /WX)
45+
add_compile_options(/W4)
4646
else()
4747
add_compile_options(-Wall -Wextra -pedantic)
4848
endif()

0 commit comments

Comments
 (0)