diff options
author | Ben Straub <bs@github.com> | 2013-11-04 15:03:44 -0800 |
---|---|---|
committer | Ben Straub <bs@github.com> | 2013-11-04 15:03:44 -0800 |
commit | 2d1feaa2c7aef2e0d230e5535b214289c2c4a905 (patch) | |
tree | 2bc40d44d7b8901b8335187eedfe92add0cd05d5 | |
parent | 16bffd1c26d8d22a61b5d99fd4063c2f71751317 (diff) | |
download | libgit2-2d1feaa2c7aef2e0d230e5535b214289c2c4a905.tar.gz |
Compile HTTP parser on win32 (for url parsing)
-rw-r--r-- | CMakeLists.txt | 2 |
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) |