Commit 8d457891 by Sascha Cunz

Only add deps/http-parser to include-dirs if required

parent 9d8fa537
...@@ -27,13 +27,14 @@ IF (AMIGA) ...@@ -27,13 +27,14 @@ IF (AMIGA)
ENDIF() ENDIF()
# Find required dependencies # Find required dependencies
INCLUDE_DIRECTORIES(src include deps/http-parser) INCLUDE_DIRECTORIES(src include)
IF (WIN32 AND NOT MINGW) IF (WIN32 AND NOT MINGW)
ADD_DEFINITIONS(-DGIT_WINHTTP) ADD_DEFINITIONS(-DGIT_WINHTTP)
ELSE () ELSE ()
FIND_PACKAGE(OpenSSL) FIND_PACKAGE(OpenSSL)
FILE(GLOB SRC_HTTP deps/http-parser/*.c) FILE(GLOB SRC_HTTP deps/http-parser/*.c)
INCLUDE_DIRECTORIES(deps/http-parser)
ENDIF() ENDIF()
# Specify sha1 implementation # Specify sha1 implementation
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment