mirror of
https://github.com/isar/libmdbx.git
synced 2024-10-29 23:19:20 +08:00
mdbx-cmake: removing /W3
when adding /W4
to avoid stupid MSVC warnings.
This commit is contained in:
parent
57978b0f7f
commit
cf32f4cdb3
@ -658,8 +658,8 @@ macro(setup_compile_flags)
|
||||
if(NOT MSVC_VERSION LESS 1910)
|
||||
add_compile_flags("CXX" "/Zc:__cplusplus")
|
||||
endif()
|
||||
add_compile_flags("C;CXX" "/W4")
|
||||
add_compile_flags("C;CXX" "/utf-8")
|
||||
remove_compile_flag("C;CXX" "/W3")
|
||||
add_compile_flags("C;CXX" "/W4 /utf-8")
|
||||
else()
|
||||
if(CC_HAS_WALL)
|
||||
add_compile_flags("C;CXX" "-Wall")
|
||||
|
Loading…
Reference in New Issue
Block a user