Commit 552249f941a4364f27e0092649af9ec09d9fa770

Carlos Martín Nieto 2015-06-26T00:49:28

Merge pull request #3258 from arthurschreiber/patch-6 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)