summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index fc530773d..2474b66f0 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -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