From 475e8f0ea162323122d3a4827e09ef67d1d9c802 Mon Sep 17 00:00:00 2001 From: jamu85 Date: Wed, 19 Aug 2026 14:48:46 +0700 Subject: [PATCH] fix(build): bump macOS deployment target to 15.0 DirectPipe fails to build on current macOS SDKs. With 10.15 set, the newer CoreGraphics headers define CGToneMapping (added in macOS 15) and clang treats the unguarded availability as a hard error (-Werror): 'CGToneMapping' is only available on macOS 15.0 or newer. Set the minimum macOS version to 15.0 so it compiles cleanly. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index cd6cb93..150e83b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,7 +13,7 @@ endif() # macOS: universal binary (Apple Silicon + Intel) with minimum deployment target if(APPLE) set(CMAKE_OSX_ARCHITECTURES "arm64;x86_64" CACHE STRING "Build universal binary") - set(CMAKE_OSX_DEPLOYMENT_TARGET "10.15" CACHE STRING "Minimum macOS version") + set(CMAKE_OSX_DEPLOYMENT_TARGET "15.0" CACHE STRING "Minimum macOS version") endif() # Platform info