]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
cmake: fixup linking libgsasl when detected via CMake-native
authorViktor Szakats <commit@vsz.me>
Wed, 21 Aug 2024 07:21:29 +0000 (09:21 +0200)
committerViktor Szakats <commit@vsz.me>
Wed, 21 Aug 2024 07:21:41 +0000 (09:21 +0200)
Found in local tests.

Follow-up to 422696f0a4f3a9e20d4ba9f12726bb066f1c34fc #14555
which added CMake-native detection.

CMakeLists.txt

index a944685b65fbc1081e9aa138b66083fb001e4165..3531b93f1acb4a3940ba1c6e9e9c7424063fd487 100644 (file)
@@ -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()