]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
cmake: quote `COMPONENTS` string in `curl-config.in.cmake`
authorViktor Szakats <commit@vsz.me>
Wed, 20 May 2026 16:43:41 +0000 (18:43 +0200)
committerViktor Szakats <commit@vsz.me>
Wed, 20 May 2026 17:24:50 +0000 (19:24 +0200)
For consistency and for handling an accidental empty more gracefully.

Follow-up to 7d546e52b21c94e1d4f6669d2d4d64f79bff0d7b #21540

Closes #21699

CMake/curl-config.in.cmake

index 1c0eec36ed812ce2f18b23a9d8c1c83c0081f6de..b4300ca2108c4441c38269f7c3f78928cfd9d6a7 100644 (file)
@@ -122,7 +122,7 @@ if("@USE_NGHTTP3@")
   list(APPEND _curl_libs CURL::nghttp3)
 endif()
 if("@USE_NGTCP2@")
-  find_dependency(NGTCP2 MODULE COMPONENTS @NGTCP2_CRYPTO_BACKEND@)
+  find_dependency(NGTCP2 MODULE COMPONENTS "@NGTCP2_CRYPTO_BACKEND@")
   list(APPEND _curl_libs CURL::ngtcp2)
 endif()
 if("@USE_GNUTLS@")