mirror of
https://gitflic.ru/project/erthink/libmdbx.git
synced 2025-09-12 12:18:23 +00: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