Add /bigobj option to fix windows compilation

This commit is contained in:
dP
2023-06-10 18:55:39 +04:00
parent a42fce8c90
commit e0c85de366

View File

@@ -4,6 +4,7 @@
#
macro(compile_flags)
if(MSVC)
add_compile_options(/bigobj)
if(VCPKG_TARGET_TRIPLET MATCHES "-static" AND NOT VCPKG_TARGET_TRIPLET MATCHES "-md")
# Switch to MT (static) instead of MD (dynamic) binary