aboutsummaryrefslogtreecommitdiffstats
path: root/host/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'host/CMakeLists.txt')
-rw-r--r--host/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/CMakeLists.txt b/host/CMakeLists.txt
index aab71d7e8..8def96811 100644
--- a/host/CMakeLists.txt
+++ b/host/CMakeLists.txt
@@ -238,8 +238,8 @@ IF(MSVC)
-D_CRT_NONSTDC_NO_DEPRECATE
-D_WINSOCK_DEPRECATED_NO_WARNINGS
)
- ADD_DEFINITIONS(/MP) #multi-threaded build
- ADD_DEFINITIONS(/bigobj) #Increases the number of addressable sections in an .obj file.
+ # multi-threaded build and increases the number of addressable sections in an .obj file.
+ SET (COMPILE_FLAGS ${COMPILE_FLAGS} /MP /bigobj)
ENDIF(MSVC)
IF(CYGWIN)