summary refs log tree commit diff
diff options
context:
space:
mode:
authorJoe <rubberduckie3554@gmail.com>2019-01-27 21:03:07 -0500
committerJoe <rubberduckie3554@gmail.com>2019-01-27 21:03:07 -0500
commitaf57e95759e3ea602e28688e0fc459d0fba26b3b (patch)
tree966cf3859546e734a614d5e03caa2eec55034787
parentMerge pull request #7 from tim77/master (diff)
downloadnheko-af57e95759e3ea602e28688e0fc459d0fba26b3b.tar.xz
Add /bigobj for nheko MSVC build
-rw-r--r--CMakeLists.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt

index 515e49d8..6fd936b0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt
@@ -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."