summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2016-09-09 08:45:33 +0200
committerGitHub <noreply@github.com>2016-09-09 08:45:33 +0200
commitbba704adf79e86ac8efd2b18cc57b478077a2a19 (patch)
treeff6f302c58ec710ecb63e34dfef8ce86d71a1fef
parent9ad07fc003f553f29f515c64073caea276eb3270 (diff)
parent528b2f7df81348c2e7b4e1f63189ba958f8e14a3 (diff)
downloadlibgit2-bba704adf79e86ac8efd2b18cc57b478077a2a19.tar.gz
Merge pull request #3925 from pks-t/pks/cmake-library-dirs
cmake: add curl library path
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 93a9e47c1..635842f25 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -286,6 +286,7 @@ ELSE ()
IF (CURL_FOUND)
ADD_DEFINITIONS(-DGIT_CURL)
INCLUDE_DIRECTORIES(${CURL_INCLUDE_DIRS})
+ LINK_DIRECTORIES(${CURL_LIBRARY_DIRS})
LINK_LIBRARIES(${CURL_LIBRARIES})
LIST(APPEND LIBGIT2_PC_LIBS ${CURL_LDFLAGS})
ENDIF()