Skip to content

Commit 55ec7fa

Browse files
committed
[Visual Studio] /Wall will cause thousands of uncessary warnings use /W4
1 parent 0248c3c commit 55ec7fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
130130
endif ()
131131
elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC")
132132
add_definitions(
133-
/Wall
133+
/W4
134134
/D "_CRT_SECURE_NO_WARNINGS"
135135
)
136136
endif()

0 commit comments

Comments
 (0)