mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-08 04:30:48 +00:00
cMakeList: Prevent MSVCR1x0.dll dependency
Deploys the libgit2/libgit2@9041250 fix to RELWITHDEBINFO and MINSIZEREL build flavors Fix #255
This commit is contained in:
parent
e6b013a042
commit
e8670d01e0
@ -96,6 +96,8 @@ IF (MSVC)
|
||||
ENDIF ()
|
||||
SET(CMAKE_C_FLAGS_DEBUG "/Od /DEBUG /MTd /RTC1 /RTCs /RTCu")
|
||||
SET(CMAKE_C_FLAGS_RELEASE "/MT /O2")
|
||||
SET(CMAKE_C_FLAGS_RELWITHDEBINFO "/MT /O2")
|
||||
SET(CMAKE_C_FLAGS_MINSIZEREL "/MT")
|
||||
SET(WIN_RC "src/win32/git2.rc")
|
||||
|
||||
# Precompiled headers
|
||||
|
Loading…
Reference in New Issue
Block a user