8000 Merge pull request #3925 from pks-t/pks/cmake-library-dirs · libgit2/libgit2@bba704a · GitHub
[go: up one dir, main page]

Skip to content

Commit bba704a

Browse files
authored
Merge pull request #3925 from pks-t/pks/cmake-library-dirs
cmake: add curl library path
2 parents 9ad07fc + 528b2f7 commit bba704a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,7 @@ ELSE ()
286286
IF (CURL_FOUND)
287287
ADD_DEFINITIONS(-DGIT_CURL)
288288
INCLUDE_DIRECTORIES(${CURL_INCLUDE_DIRS})
289+
LINK_DIRECTORIES(${CURL_LIBRARY_DIRS})
289290
LINK_LIBRARIES(${CURL_LIBRARIES})
290291
LIST(APPEND LIBGIT2_PC_LIBS ${CURL_LDFLAGS})
291292
ENDIF()

0 commit comments

Comments
 (0)
0