From: Viktor Szakats Date: Mon, 19 Jan 2026 06:34:33 +0000 (+0100) Subject: cmake: fix variable name for Apple Security framework X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e8683ee2adfc45ae3f5f4c0690aa1ee66972242;p=thirdparty%2Fcurl.git cmake: fix variable name for Apple Security framework Follow-up to eefd03c572996e5de4dec4fe295ad6f103e0eefc #18703 Closes #20349 --- diff --git a/CMakeLists.txt b/CMakeLists.txt index e21f1384f2..2c5ecccb97 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -724,9 +724,9 @@ if(APPLE) if(NOT CURL_USE_OPENSSL AND NOT CURL_USE_GNUTLS) message(FATAL_ERROR "Apple SecTrust is only supported with Openssl/GnuTLS") endif() - find_library(COREFOUNDATION_FRAMEWORK NAMES "Security") - mark_as_advanced(COREFOUNDATION_FRAMEWORK) - if(NOT COREFOUNDATION_FRAMEWORK) + find_library(SECURITY_FRAMEWORK NAMES "Security") + mark_as_advanced(SECURITY_FRAMEWORK) + if(NOT SECURITY_FRAMEWORK) message(FATAL_ERROR "Security framework not found") endif() list(APPEND CURL_LIBS "-framework Security")