summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Straub <bs@github.com>2013-11-04 15:03:44 -0800
committerBen Straub <bs@github.com>2013-11-04 15:03:44 -0800
commit2d1feaa2c7aef2e0d230e5535b214289c2c4a905 (patch)
tree2bc40d44d7b8901b8335187eedfe92add0cd05d5
parent16bffd1c26d8d22a61b5d99fd4063c2f71751317 (diff)
downloadlibgit2-2d1feaa2c7aef2e0d230e5535b214289c2c4a905.tar.gz
Compile HTTP parser on win32 (for url parsing)
-rw-r--r--CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a14abae0a..1d8e00cd6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -126,6 +126,8 @@ INCLUDE_DIRECTORIES(src include)
IF (WIN32 AND WINHTTP AND NOT MINGW)
ADD_DEFINITIONS(-DGIT_WINHTTP)
+ INCLUDE_DIRECTORIES(deps/http-parser)
+ FILE(GLOB SRC_HTTP deps/http-parser/*.c deps/http-parser/*.h)
ELSE ()
IF (NOT AMIGA)
FIND_PACKAGE(OpenSSL)