mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-28 15:32:35 +00:00
cmake: Do not pass /Tc
to MSVC
This commit is contained in:
parent
45e82ba21b
commit
8172dd4383
@ -36,7 +36,7 @@ OPTION (THREADSAFE "Build libgit2 as threadsafe" OFF)
|
||||
|
||||
# Platform specific compilation flags
|
||||
IF (MSVC)
|
||||
SET(CMAKE_C_FLAGS "/TC /W4 /WX /nologo /Zi")
|
||||
SET(CMAKE_C_FLAGS "/W4 /WX /nologo /Zi")
|
||||
# TODO: bring back /RTC1 /RTCc
|
||||
SET(CMAKE_C_FLAGS_DEBUG "/Od /DEBUG /MTd")
|
||||
SET(CMAKE_C_FLAGS_RELEASE "/MT /O2")
|
||||
|
Loading…
Reference in New Issue
Block a user