mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-31 11:18:21 +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")
|
add_compile_flags("CXX" "/Zc:__cplusplus")
|
||||||
endif()
|
endif()
|
||||||
remove_compile_flag("C;CXX" "/W3")
|
remove_compile_flag("C;CXX" "/W3")
|
||||||
add_compile_flags("C;CXX" "/W4 /utf-8")
|
add_compile_flags("C;CXX" "/W4 /utf-8 /bigobj")
|
||||||
else()
|
else()
|
||||||
if(CC_HAS_WALL)
|
if(CC_HAS_WALL)
|
||||||
add_compile_flags("C;CXX" "-Wall")
|
add_compile_flags("C;CXX" "-Wall")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user