]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
cmake: fix quotes when appending multiple options (SecureTransport)
authorViktor Szakats <commit@vsz.me>
Fri, 14 Jun 2024 11:10:10 +0000 (13:10 +0200)
committerViktor Szakats <commit@vsz.me>
Sat, 15 Jun 2024 15:45:37 +0000 (17:45 +0200)
Copied from a vcpkg distro patch:
https://github.com/microsoft/vcpkg/blob/02745e0f4749d1f51d2025824209408f5a6c3614/ports/curl/dependencies.patch#L43C38-L44

Ref: https://github.com/microsoft/vcpkg/pull/38847
Ref: https://github.com/microsoft/vcpkg/commit/795f2f137e6cf6d985fcc927bffcaf9c0a96e4ac
Ref: https://github.com/microsoft/vcpkg/pull/38847/commits/36f0c917de5319e95361451fc0aef0698b264874#diff-ab5c23e5dc5df412539cc93e24b37abbc588e1918236f8abc019d676b270c85fR39 (sub-commit)

Authored-by: Kai Pastor
Closes #13953

CMakeLists.txt

index 2fccc550f883a94208fbe75dca4f983d97c8aa19..76563a236552ba2b9815ffd098f69bd1d6950e73 100644 (file)
@@ -465,7 +465,7 @@ if(use_core_foundation_and_core_services)
     message(FATAL_ERROR "CoreServices framework not found")
   endif()
 
-  list(APPEND CURL_LIBS "-framework CoreFoundation -framework CoreServices")
+  list(APPEND CURL_LIBS "-framework CoreFoundation" "-framework CoreServices")
 endif()
 
 if(CURL_USE_OPENSSL)