mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-10-30 09:30:47 +03:00
Add /bigobj for nheko MSVC build
This commit is contained in:
parent
6ab12b2f6d
commit
af57e95759
1 changed files with 7 additions and 0 deletions
|
@ -113,6 +113,13 @@ if(NOT MSVC)
|
|||
endif()
|
||||
endif()
|
||||
|
||||
if (MSVC)
|
||||
set(
|
||||
CMAKE_CXX_FLAGS
|
||||
"${CMAKE_CXX_FLAGS} /bigobj"
|
||||
)
|
||||
endif()
|
||||
|
||||
if(NOT (CMAKE_BUILD_TYPE OR CMAKE_CONFIGURATION_TYPES))
|
||||
set(CMAKE_BUILD_TYPE "Debug" CACHE STRING
|
||||
"Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel."
|
||||
|
|
Loading…
Reference in a new issue