Merge pull request #3258 from arthurschreiber/patch-6

List `libcurl` in the generated `libgit2.pc`
This commit is contained in:
Carlos Martín Nieto 2015-06-26 00:49:28 +02:00
commit 552249f941

View File

@ -212,6 +212,7 @@ ELSE ()
ADD_DEFINITIONS(-DGIT_CURL)
INCLUDE_DIRECTORIES(${CURL_INCLUDE_DIRS})
LINK_LIBRARIES(${CURL_LIBRARIES})
SET(LIBGIT2_PC_REQUIRES "${LIBGIT2_PC_REQUIRES} libcurl")
ENDIF()
FIND_PACKAGE(HTTP_Parser)