cMakeList: Prevent MSVCR1x0.dll dependency Deploys the libgit2/libgit2@9041250 fix to RELWITHDEBINFO and MINSIZEREL build flavors Fix #255
diff --git a/CMakeLists.txt b/CMakeLists.txt
index fc53077..2474b66 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