mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-10-12 03:24:16 +00:00
add /bigobj to fix compiling on windows
This commit is contained in:
@@ -195,6 +195,7 @@ target_compile_definitions(${PROJECT_NAME} PRIVATE ${PRJ_DEFINITIONS} ${PRJ_WARN
|
|||||||
)
|
)
|
||||||
|
|
||||||
if(MSVC)
|
if(MSVC)
|
||||||
|
target_compile_options(${PROJECT_NAME} PUBLIC "/bigobj")
|
||||||
target_link_options(${PROJECT_NAME} PRIVATE "/SUBSYSTEM:CONSOLE")
|
target_link_options(${PROJECT_NAME} PRIVATE "/SUBSYSTEM:CONSOLE")
|
||||||
endif(MSVC)
|
endif(MSVC)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user