summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVicent Martí <vicent@github.com>2013-02-05 06:18:23 -0800
committerVicent Martí <vicent@github.com>2013-02-05 06:18:23 -0800
commitfb60d268df2272626f48cfed7b2a185413e7e9f4 (patch)
treee9fd21af15c7799363c0452b32e8e1fb06962b8b
parentde81aee3907e3737ad87e88e14b702f4b3bf12a6 (diff)
parente8670d01e0fb9b987c396557d2ed9d8a1edfa7fe (diff)
downloadlibgit2-fb60d268df2272626f48cfed7b2a185413e7e9f4.tar.gz
Merge pull request #1315 from nulltoken/development
cMakeList: Prevent MSVCR1x0.dll dependency
-rw-r--r--CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e9972fd41..5bb38d01e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -138,6 +138,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