cmake: Do not pass /Tc to MSVC

This commit is contained in:
Vicent Marti 2011-06-23 22:45:09 +02:00
parent 45e82ba21b
commit 8172dd4383

View File

@ -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")