summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2011-06-23 22:45:09 +0200
committerVicent Marti <tanoku@gmail.com>2011-06-23 22:45:09 +0200
commit8172dd4383c81bb8648b31cca09acea2143640da (patch)
tree74c5d75f0d5104a9f332d2de38a2817b8920e78d /CMakeLists.txt
parent45e82ba21b6e0a08cd025199c57fbea1c15a19b5 (diff)
downloadlibgit2-8172dd4383c81bb8648b31cca09acea2143640da.tar.gz
cmake: Do not pass `/Tc` to MSVC
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b70183a66..0d41c8e80 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")