libgit2 doesn't use -LIB define

Signed-off-by: Sven Strickroth <email@cs-ware.de>
This commit is contained in:
Sven Strickroth 2011-10-09 18:35:42 +02:00
parent 3eaf34f4c6
commit da2281c7c0

View File

@ -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)