mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-06 21:08:56 +00:00
Merge pull request #3925 from pks-t/pks/cmake-library-dirs
cmake: add curl library path
This commit is contained in:
commit
bba704adf7
@ -286,6 +286,7 @@ ELSE ()
|
|||||||
IF (CURL_FOUND)
|
IF (CURL_FOUND)
|
||||||
ADD_DEFINITIONS(-DGIT_CURL)
|
ADD_DEFINITIONS(-DGIT_CURL)
|
||||||
INCLUDE_DIRECTORIES(${CURL_INCLUDE_DIRS})
|
INCLUDE_DIRECTORIES(${CURL_INCLUDE_DIRS})
|
||||||
|
LINK_DIRECTORIES(${CURL_LIBRARY_DIRS})
|
||||||
LINK_LIBRARIES(${CURL_LIBRARIES})
|
LINK_LIBRARIES(${CURL_LIBRARIES})
|
||||||
LIST(APPEND LIBGIT2_PC_LIBS ${CURL_LDFLAGS})
|
LIST(APPEND LIBGIT2_PC_LIBS ${CURL_LDFLAGS})
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
Loading…
Reference in New Issue
Block a user