Commit da2281c7c0c450922533f6ee637d7bf59abc0fa3

Sven Strickroth 2011-10-09T18:35:42

libgit2 doesn't use -LIB define Signed-off-by: Sven Strickroth <email@cs-ware.de>

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 795a585..d517a74 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -87,7 +87,7 @@ FILE(GLOB SRC_H include/git2/*.h)
 
 # On Windows use specific platform sources
 IF (WIN32 AND NOT CYGWIN)
-    ADD_DEFINITIONS(-DWIN32 -D_DEBUG -D_LIB)
+    ADD_DEFINITIONS(-DWIN32 -D_DEBUG)
 	FILE(GLOB SRC src/*.c src/win32/*.c)
 ELSE()
 	FILE(GLOB SRC src/*.c src/unix/*.c)