mirror of
https://git.proxmox.com/git/libgit2
synced 2025-08-06 12:36:24 +00:00
Only add deps/http-parser to include-dirs if required
This commit is contained in:
parent
9d8fa53799
commit
8d45789167
@ -27,13 +27,14 @@ IF (AMIGA)
|
||||
ENDIF()
|
||||
|
||||
# Find required dependencies
|
||||
INCLUDE_DIRECTORIES(src include deps/http-parser)
|
||||
INCLUDE_DIRECTORIES(src include)
|
||||
|
||||
IF (WIN32 AND NOT MINGW)
|
||||
ADD_DEFINITIONS(-DGIT_WINHTTP)
|
||||
ELSE ()
|
||||
FIND_PACKAGE(OpenSSL)
|
||||
FILE(GLOB SRC_HTTP deps/http-parser/*.c)
|
||||
INCLUDE_DIRECTORIES(deps/http-parser)
|
||||
ENDIF()
|
||||
|
||||
# Specify sha1 implementation
|
||||
|
Loading…
Reference in New Issue
Block a user