From a4af5d5567483d643a9eb63820e126a0bc364ea9 Mon Sep 17 00:00:00 2001 From: click Date: Wed, 18 Aug 2010 00:32:31 +0200 Subject: [PATCH] Buildsystem/Windows: Enable multihreaded compiling on MSVC > version 7 (report issues if any) - thanks to Leak for the heads up --HG-- branch : trunk --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5b240f8a4ba13..3579afcb1f6d8 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() #