diff options
author | Russell Belfer <rb@github.com> | 2012-03-20 22:25:49 -0700 |
---|---|---|
committer | Russell Belfer <rb@github.com> | 2012-03-20 22:25:49 -0700 |
commit | e71b78b02b6f28d1cf94dc5023fe1faba3f4026c (patch) | |
tree | 6db28460811cc979f8bbc9fb5b5aae7a56affd62 | |
parent | 288c8a25750af694685ad71e08b6708729266aa9 (diff) | |
parent | 06c081e1bc2ec59c63ae8fed82f70ff43565d6a3 (diff) | |
download | libgit2-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.txt | 2 |
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 () |