libgit2 doesn't use -LIB define Signed-off-by: Sven Strickroth <email@cs-ware.de>
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)