mirror of
https://github.com/curl/curl.git
synced 2026-07-24 17:07:16 +03:00
cmake: respect GNUTLS_LIBRARY_DIRS in libcurl.pc and curl-config
Authored-by: Kai Pastor
Ref: 0ed3bfe969
Closes #16190
This commit is contained in:
parent
449d9f7897
commit
5f6f446136
1 changed files with 1 additions and 1 deletions
|
|
@ -851,7 +851,7 @@ if(CURL_USE_GNUTLS)
|
|||
set(_ssl_enabled ON)
|
||||
set(USE_GNUTLS ON)
|
||||
list(APPEND CURL_LIBS ${GNUTLS_LIBRARIES} ${NETTLE_LIBRARIES})
|
||||
list(APPEND CURL_LIBDIRS ${NETTLE_LIBRARY_DIRS})
|
||||
list(APPEND CURL_LIBDIRS ${GNUTLS_LIBRARY_DIRS} ${NETTLE_LIBRARY_DIRS})
|
||||
list(APPEND LIBCURL_PC_REQUIRES_PRIVATE "gnutls" ${NETTLE_PC_REQUIRES})
|
||||
include_directories(SYSTEM ${GNUTLS_INCLUDE_DIRS} ${NETTLE_INCLUDE_DIRS})
|
||||
link_directories(${NETTLE_LIBRARY_DIRS})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue