Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Schreiber <arthur.schreiber@hp.com>2016-01-05 21:07:27 +0300
committerArthur Schreiber <schreiber.arthur@googlemail.com>2016-01-09 04:43:03 +0300
commit8a0133c030074892815ef91de802388492dad17c (patch)
treebe10e16b5387bd57f05f5e62bc077dea45245ecc /CMakeLists.txt
parent700f0aff24d9b292f24d802c3af3b5c1705193c5 (diff)
Add winhttp dependencies to pc file.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 40a52bc01..0aa58625a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -257,7 +257,8 @@ IF (WIN32 AND WINHTTP)
LINK_DIRECTORIES(${LIBWINHTTP_PATH})
ENDIF ()
- LINK_LIBRARIES(winhttp rpcrt4 crypt32)
+ LINK_LIBRARIES(winhttp rpcrt4 crypt32 ole32)
+ LIST(APPEND LIBGIT2_PC_LIBS "-lwinhttp" "-lrpcrt4" "-lcrypt32" "-lole32")
ELSE ()
IF (CURL)
PKG_CHECK_MODULES(CURL libcurl)