Commit 8172dd4383c81bb8648b31cca09acea2143640da

Vicent Marti 2011-06-23T22:45:09

cmake: Do not pass `/Tc` to MSVC

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b70183a..0d41c8e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -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")