List libcurl in the generated libgit2.pc

This commit is contained in:
Arthur Schreiber 2015-06-25 21:49:48 +02:00
parent 3b66c6a397
commit 65f2d15561

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)