From 06c081e1bc2ec59c63ae8fed82f70ff43565d6a3 Mon Sep 17 00:00:00 2001 From: Ben Straub Date: Tue, 20 Mar 2012 19:57:56 -0700 Subject: [PATCH] Adding multi-cpu compile option when generating MSVC projects. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b46e82515..383627bb9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -60,7 +60,7 @@ IF (MSVC) # Not using __stdcall with the CRT causes problems OPTION (STDCALL "Buildl libgit2 with the __stdcall convention" ON) - SET(CMAKE_C_FLAGS "/W4 /nologo /Zi ${CMAKE_C_FLAGS}") + SET(CMAKE_C_FLAGS "/W4 /MP /nologo /Zi ${CMAKE_C_FLAGS}") IF (STDCALL) SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /Gz") ENDIF ()