diff options
| author | click <none@none> | 2010-08-18 00:32:31 +0200 |
|---|---|---|
| committer | click <none@none> | 2010-08-18 00:32:31 +0200 |
| commit | a4af5d5567483d643a9eb63820e126a0bc364ea9 (patch) | |
| tree | b7e18b23672deeda7b1fb805cef94a5f98325203 | |
| parent | 66fcd52106bb14961498afb9d3f0344e21d0890b (diff) | |
Buildsystem/Windows: Enable multihreaded compiling on MSVC > version 7 (report issues if any) - thanks to Leak for the heads up
--HG--
branch : trunk
| -rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 5b240f8a4ba..3579afcb1f6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -288,6 +288,8 @@ if( MSVC ) if(CMAKE_SIZEOF_VOID_P MATCHES 4) set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /LARGEADDRESSAWARE") endif() + # Multithreaded compiling on VS + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /MP") endif() # |
