2024-02-29 20:09:43 +00:00
|
|
|
diff -Naur cmake-3.28.2/Utilities/cmcurl/CMakeLists.txt cmake-3.28.2-new/Utilities/cmcurl/CMakeLists.txt
|
|
|
|
--- cmake-3.28.2/Utilities/cmcurl/CMakeLists.txt 2024-01-29 23:01:32.000000000 +0300
|
|
|
|
+++ cmake-3.28.2-new/Utilities/cmcurl/CMakeLists.txt 2024-02-16 13:09:40.805479195 +0300
|
|
|
|
@@ -470,13 +470,6 @@
|
2021-09-18 10:52:07 +00:00
|
|
|
|
2022-07-14 12:49:19 +00:00
|
|
|
if(CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND NOT ENABLE_ARES)
|
2024-02-29 20:09:43 +00:00
|
|
|
set(use_core_foundation_and_core_services ON)
|
2022-07-14 12:49:19 +00:00
|
|
|
-
|
|
|
|
- find_library(SYSTEMCONFIGURATION_FRAMEWORK "SystemConfiguration")
|
|
|
|
- if(NOT SYSTEMCONFIGURATION_FRAMEWORK)
|
|
|
|
- message(FATAL_ERROR "SystemConfiguration framework not found")
|
|
|
|
- endif()
|
2021-09-18 10:52:07 +00:00
|
|
|
-
|
2022-07-14 12:49:19 +00:00
|
|
|
- list(APPEND CURL_LIBS "-framework SystemConfiguration")
|
|
|
|
endif()
|
|
|
|
endif()
|
2022-01-13 20:06:32 +00:00
|
|
|
|
2024-02-29 20:09:43 +00:00
|
|
|
diff -Naur cmake-3.28.2/Utilities/cmcurl/lib/curl_setup.h cmake-3.28.2-new/Utilities/cmcurl/lib/curl_setup.h
|
|
|
|
--- cmake-3.28.2/Utilities/cmcurl/lib/curl_setup.h 2024-01-29 23:01:32.000000000 +0300
|
|
|
|
+++ cmake-3.28.2-new/Utilities/cmcurl/lib/curl_setup.h 2024-02-16 13:10:38.822445566 +0300
|
|
|
|
@@ -255,12 +255,6 @@
|
2021-09-18 10:52:07 +00:00
|
|
|
* performing this task will result in a synthesized IPv6 address.
|
|
|
|
*/
|
|
|
|
#if defined(__APPLE__) && !defined(USE_ARES)
|
|
|
|
-#include <TargetConditionals.h>
|
2024-02-29 20:09:43 +00:00
|
|
|
-#define USE_RESOLVE_ON_IPS 1
|
|
|
|
-# if TARGET_OS_MAC && !(defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE) && \
|
|
|
|
- defined(ENABLE_IPV6)
|
|
|
|
-# define CURL_MACOS_CALL_COPYPROXIES 1
|
2021-09-18 10:52:07 +00:00
|
|
|
-# endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef USE_LWIPSOCK
|