diff options
author | Patrick Steinhardt <ps@pks.im> | 2016-09-09 08:45:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-09 08:45:33 +0200 |
commit | bba704adf79e86ac8efd2b18cc57b478077a2a19 (patch) | |
tree | ff6f302c58ec710ecb63e34dfef8ce86d71a1fef | |
parent | 9ad07fc003f553f29f515c64073caea276eb3270 (diff) | |
parent | 528b2f7df81348c2e7b4e1f63189ba958f8e14a3 (diff) | |
download | libgit2-bba704adf79e86ac8efd2b18cc57b478077a2a19.tar.gz |
Merge pull request #3925 from pks-t/pks/cmake-library-dirs
cmake: add curl library path
-rw-r--r-- | CMakeLists.txt | 1 |
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() |