mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-10 18:28:16 +00:00
Adding multi-cpu compile option when generating MSVC projects.
This commit is contained in:
parent
288c8a2575
commit
06c081e1bc
@ -60,7 +60,7 @@ IF (MSVC)
|
|||||||
# Not using __stdcall with the CRT causes problems
|
# Not using __stdcall with the CRT causes problems
|
||||||
OPTION (STDCALL "Buildl libgit2 with the __stdcall convention" ON)
|
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)
|
IF (STDCALL)
|
||||||
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /Gz")
|
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /Gz")
|
||||||
ENDIF ()
|
ENDIF ()
|
||||||
|
Loading…
Reference in New Issue
Block a user