Commit 65f2d155616d2fb63786d9a2e3067247e4d6b8e5

Arthur Schreiber 2015-06-25T21:49:48

List `libcurl` in the generated `libgit2.pc`

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 012814e..90ec9e6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -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)