From abe675bfac8b2e975ceec396139f54fb32ad0917 Mon Sep 17 00:00:00 2001 From: attilamolnar Date: Tue, 11 Jun 2013 00:33:31 +0200 Subject: [PATCH] Build with multiple processes on Windows (/MP) --- win/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/win/CMakeLists.txt b/win/CMakeLists.txt index ca7e9eb18..a9c58bcfc 100644 --- a/win/CMakeLists.txt +++ b/win/CMakeLists.txt @@ -12,6 +12,9 @@ set(EXTRA_LIBS "" CACHE PATH "Extra library paths") set(INSPIRCD_BASE "${CMAKE_CURRENT_SOURCE_DIR}/../") +# Build with multiple processes +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /MP") + # Use our own NSIS template set(CMAKE_MODULE_PATH "${INSPIRCD_BASE}/win") -- 2.39.2