← Commit list

0e8683ee2a

Viktor Szakats
Viktor Szakats
2026-01-19
SUCCESS Duration: 329s

Subject

cmake: fix variable name for Apple Security framework

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

CMakeLists.txt+3 -3
@@ -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")