Add /bigobj for nheko MSVC build

This commit is contained in:
Joe 2019-01-27 21:03:07 -05:00
parent 6ab12b2f6d
commit af57e95759

View file

@ -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."