From a3451e43ea4fd0a3b94d82cbac6fb57e88b9840c Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Sat, 10 May 2014 23:46:50 +0000 Subject: [PATCH] cmake, enable multicore compiling with msvc --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5dd0b0815..881b4e21b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -221,6 +221,7 @@ endif() if (WIN32) target_link_libraries(torrent-rasterbar wsock32 ws2_32) add_definitions(-D_WIN32_WINNT=0x0500) + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /MP") # multicore compilation endif() if (encryption)