Skip to content

Commit

Permalink
add /bigobj to fix compiling on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
lionkor committed Dec 30, 2023
1 parent 262705b commit 521486b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ target_compile_definitions(${PROJECT_NAME} PRIVATE ${PRJ_DEFINITIONS} ${PRJ_WARN
)

if(MSVC)
target_compile_options(${PROJECT_NAME} PUBLIC "/bigobj")
target_link_options(${PROJECT_NAME} PRIVATE "/SUBSYSTEM:CONSOLE")
endif(MSVC)

Expand Down

0 comments on commit 521486b

Please sign in to comment.