From 81a08614632c85559271599ec731ca951a489493 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Wed, 21 Aug 2024 09:21:29 +0200 Subject: [PATCH] cmake: fixup linking libgsasl when detected via CMake-native Found in local tests. Follow-up to 422696f0a4f3a9e20d4ba9f12726bb066f1c34fc #14555 which added CMake-native detection. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a944685b65..3531b93f1a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1103,7 +1103,7 @@ mark_as_advanced(CURL_USE_GSASL) if(CURL_USE_GSASL) find_package(Libgsasl REQUIRED) if(LIBGSASL_FOUND) - list(APPEND CURL_LIBS ${LIBGSASL_LINK_LIBRARIES}) + list(APPEND CURL_LIBS ${LIBGSASL_LIBRARIES}) list(APPEND LIBCURL_PC_REQUIRES_PRIVATE "libgsasl") set(USE_GSASL ON) endif()