Commit e8670d01e0fb9b987c396557d2ed9d8a1edfa7fe

nulltoken 2013-02-05T14:32:09

cMakeList: Prevent MSVCR1x0.dll dependency Deploys the libgit2/libgit2@9041250 fix to RELWITHDEBINFO and MINSIZEREL build flavors Fix #255

1
2
3
4
5
6
7
8
9
10
11
12
13
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