mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-06 17:20:22 +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)
|
||||
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()
|
||||
|
Loading…
Reference in New Issue
Block a user