File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 1+ # Ensure that MinGW provides the correct header files.
2+ IF (WIN32 AND NOT CYGWIN )
3+ ADD_DEFINITIONS (-DWIN32 -D_WIN32_WINNT=0x0600)
4+ ENDIF ()
5+
16LINK_DIRECTORIES (${LIBGIT2_LIBDIRS} )
27INCLUDE_DIRECTORIES (${LIBGIT2_INCLUDES} )
38INCLUDE_DIRECTORIES (SYSTEM ${LIBGIT2_SYSTEM_INCLUDES} )
Original file line number Diff line number Diff line change @@ -14,6 +14,11 @@ ADD_DEFINITIONS(-D_FILE_OFFSET_BITS=64)
1414# Ensure that we do not use deprecated functions internally
1515ADD_DEFINITIONS (-DGIT_DEPRECATE_HARD)
1616
17+ # Ensure that MinGW provides the correct header files.
18+ IF (WIN32 AND NOT CYGWIN )
19+ ADD_DEFINITIONS (-DWIN32 -D_WIN32_WINNT=0x0600)
20+ ENDIF ()
21+
1722INCLUDE_DIRECTORIES (${CLAR_PATH} ${libgit2_BINARY_DIR} /src)
1823FILE (GLOB_RECURSE SRC_TEST ${CLAR_PATH} /*/*.c ${CLAR_PATH} /*/*.h)
1924SET (SRC_CLAR "main.c" "clar_libgit2.c" "clar_libgit2_trace.c" "clar_libgit2_timer.c" "clar.c" )
You can’t perform that action at this time.
0 commit comments