summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2012-03-20 22:25:49 -0700
committerRussell Belfer <rb@github.com>2012-03-20 22:25:49 -0700
commite71b78b02b6f28d1cf94dc5023fe1faba3f4026c (patch)
tree6db28460811cc979f8bbc9fb5b5aae7a56affd62
parent288c8a25750af694685ad71e08b6708729266aa9 (diff)
parent06c081e1bc2ec59c63ae8fed82f70ff43565d6a3 (diff)
downloadlibgit2-e71b78b02b6f28d1cf94dc5023fe1faba3f4026c.tar.gz
Merge pull request #605 from benstraub/win-multi-cpu-compile
Adding multi-cpu compile option when generating MSVC projects.
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b46e8251..383627bb 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 ()