aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--host/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/CMakeLists.txt b/host/CMakeLists.txt
index 90df674b0..30a05ef9c 100644
--- a/host/CMakeLists.txt
+++ b/host/CMakeLists.txt
@@ -222,8 +222,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)