Skip to content

Commit 9630464

Browse files
committed
CMake: Remove pointless flags change
Wasn't specified in the user flags anyway.
1 parent 7db0555 commit 9630464

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

CMakeLists.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,6 @@ endif()
5252
if(MSVC)
5353
add_compile_definitions("_UNICODE" "UNICODE" "_CRT_NONSTDC_NO_DEPRECATE" "_CRT_SECURE_NO_WARNINGS")
5454
foreach(config CMAKE_C_FLAGS CMAKE_CXX_FLAGS)
55-
# Set warning level 3 instead of 4.
56-
string(REPLACE "/W3" "/W4" ${config} "${${config}}")
57-
5855
# Enable intrinsic functions, disable minimal rebuild, UTF-8 source, set __cplusplus version.
5956
set(${config} "${${config}} /Oi /Gm- /utf-8 /Zc:__cplusplus")
6057
endforeach()

0 commit comments

Comments
 (0)