mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-30 22:47:16 +08:00
mdbx-cmake: add /bigobj
for MSVC.
This commit is contained in:
parent
b6138c39f0
commit
f6db64bea1
@ -761,7 +761,7 @@ macro(setup_compile_flags)
|
||||
add_compile_flags("CXX" "/Zc:__cplusplus")
|
||||
endif()
|
||||
remove_compile_flag("C;CXX" "/W3")
|
||||
add_compile_flags("C;CXX" "/W4 /utf-8")
|
||||
add_compile_flags("C;CXX" "/W4 /utf-8 /bigobj")
|
||||
else()
|
||||
if(CC_HAS_WALL)
|
||||
add_compile_flags("C;CXX" "-Wall")
|
||||
|
Loading…
x
Reference in New Issue
Block a user