Add bigobj compiler option to win32 for fixing error C1128 (#622)

This commit is contained in:
craftingmod 2020-07-03 02:29:27 +09:00 committed by GitHub
parent ca792e2c7f
commit fa08aecbc2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -214,6 +214,7 @@ target_include_directories(${CORE_WIDGETS_ADDON} PRIVATE
if (WIN32)
add_definitions(/bigobj)
target_compile_definitions(${CORE_WIDGETS_ADDON} PRIVATE
ENABLE_DLL_EXPORT=1
)