From 62cd8c618ebeef0354b7f0d34ed2c0310f6f11dc Mon Sep 17 00:00:00 2001 From: Patrick Sisterhen Date: Thu, 23 Jul 2015 10:33:37 -0500 Subject: adding "/bigobj" compiler flag to allow msvc to handle really large obj --- host/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/host/CMakeLists.txt b/host/CMakeLists.txt index 778002e94..c41776aae 100644 --- a/host/CMakeLists.txt +++ b/host/CMakeLists.txt @@ -164,6 +164,7 @@ IF(MSVC) -D_CRT_NONSTDC_NO_DEPRECATE ) ADD_DEFINITIONS(/MP) #multi-threaded build + ADD_DEFINITIONS(/bigobj) #Increases the number of addressable sections in an .obj file. ENDIF(MSVC) IF(MINGW) -- cgit v1.2.3