File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 11# Changelog
22
3- ## 0.45.0 - 2025-12-09
3+ ## 0.45.0 - 2025-12-10
44
55### Enhancements
66- Added download retry, resumption, and checksum verification to
Original file line number Diff line number Diff line change @@ -128,6 +128,10 @@ endif()
128128
129129find_package (OpenSSL REQUIRED)
130130find_package (zstd REQUIRED)
131+ if (APPLE )
132+ find_library (CORE_FOUNDATION_LIB CoreFoundation REQUIRED)
133+ find_library (CFNETWORK_LIB CFNetwork REQUIRED)
134+ endif ()
131135if (NOT TARGET zstd::libzstd)
132136 if (TARGET zstd::libzstd_shared)
133137 add_library (zstd::libzstd ALIAS zstd::libzstd_shared)
@@ -223,6 +227,9 @@ target_link_libraries(
223227 OpenSSL::SSL
224228 Threads::Threads
225229 zstd::libzstd
230+ # macOS-specific libraries required by httplib
231+ $<$<PLATFORM_ID:Darwin>:${CFNETWORK_LIB} >
232+ $<$<PLATFORM_ID:Darwin>:${CORE_FRAMEWORK_LIB} >
226233)
227234
228235target_compile_definitions (
You can’t perform that action at this time.
0 commit comments