Skip to content

Commit

Permalink
cmake: respect GNUTLS_LIBRARY_DIRS in libcurl.pc and curl-config
Browse files Browse the repository at this point in the history
Authored-by: Kai Pastor
Ref: microsoft/vcpkg@0ed3bfe
Closes curl#16190
  • Loading branch information
vszakats committed Feb 6, 2025
1 parent 449d9f7 commit 5f6f446
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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})
Expand Down

0 comments on commit 5f6f446

Please sign in to comment.