From 05b77b55cc4fbf4cd10f86d12eb88cb1fadbcc47 Mon Sep 17 00:00:00 2001 From: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> Date: Wed, 16 Apr 2025 17:13:33 +0100 Subject: [PATCH] =?UTF-8?q?doc:=20Add=20note=20for=20building=20on=20macOS?= =?UTF-8?q?=20(Intel)=20with=20CMake=20=E2=89=A5=204.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See: https://gitlab.kitware.com/cmake/cmake/-/merge_requests/10636. --- doc/build-osx.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/build-osx.md b/doc/build-osx.md index 6f921b77827..49acded9141 100644 --- a/doc/build-osx.md +++ b/doc/build-osx.md @@ -145,6 +145,8 @@ It is required that you have `python` and `zip` installed. ### 1. Configuration +Note: On macOS (x86_64), users with CMake ≥ 4.0 and Homebrew installed in `/usr/local` should pass `-DCMAKE_OSX_SYSROOT=macosx` or `export SDKROOT=macosx` when not building with Homebrew-provided tools. + There are many ways to configure Bitcoin Core, here are a few common examples: ##### Wallet (BDB + SQlite) Support, No GUI: