aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Sisterhen <patrick.sisterhen@ni.com>2015-07-23 10:33:37 -0500
committerAshish Chaudhari <ashish@ettus.com>2015-07-23 12:30:33 -0700
commit62cd8c618ebeef0354b7f0d34ed2c0310f6f11dc (patch)
tree37fb51c4428f4e7988d7430dffdd9f3bb9d6fd2d
parentf5da3916b8c5f9793202818ecff1c2d665ecdac9 (diff)
downloaduhd-62cd8c618ebeef0354b7f0d34ed2c0310f6f11dc.tar.gz
uhd-62cd8c618ebeef0354b7f0d34ed2c0310f6f11dc.tar.bz2
uhd-62cd8c618ebeef0354b7f0d34ed2c0310f6f11dc.zip
adding "/bigobj" compiler flag to allow msvc to handle really large obj
-rw-r--r--host/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
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)