Mercurial > hg > orthanc
changeset 6567:bb56a9cccf75 default
try to fix macOS build wrt ipv6
| author | Alain Mazy <am@orthanc.team> |
|---|---|
| date | Tue, 20 Jan 2026 09:19:56 +0100 |
| parents | 54892594ebe1 |
| children | 4e3a85a11878 |
| files | OrthancFramework/Resources/CMake/LibCurlConfiguration.cmake |
| diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/OrthancFramework/Resources/CMake/LibCurlConfiguration.cmake Mon Jan 19 16:35:02 2026 +0100 +++ b/OrthancFramework/Resources/CMake/LibCurlConfiguration.cmake Tue Jan 20 09:19:56 2026 +0100 @@ -288,6 +288,12 @@ ) endif() + if (${CMAKE_SYSTEM_NAME} STREQUAL "Darwin") + # this seems to be required since we have enabled IPv6 for _CFRelease & _SCDynamicStoreCopyProxies + link_libraries("-framework CoreFoundation" + "-framework SystemConfiguration") + endif() + elseif (CMAKE_CROSSCOMPILING AND "${CMAKE_SYSTEM_VERSION}" STREQUAL "CrossToolNg")
