cmake: quote COMPONENTS string in curl-config.in.cmake

For consistency and for handling an accidental empty more gracefully.

Follow-up to 7d546e52b2 #21540

Closes #21699
This commit is contained in:
Viktor Szakats 2026-05-20 18:43:41 +02:00
parent 88c7e16cce
commit c30db7b6be
No known key found for this signature in database

View 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@")