From cfedfab66c5371d715f5585aaf48b200e66f4a74 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Tue, 9 Jul 2024 00:15:49 +0200 Subject: [PATCH] _build.sh: fix to prev [ci skip] Follow-up to b8faa90b56c14971c76d27051f8559ffc5d69abc --- _build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_build.sh b/_build.sh index 01ebecb17..fc471a270 100755 --- a/_build.sh +++ b/_build.sh @@ -1185,8 +1185,8 @@ build_single_target() { # Minimum SDK version supported by Xcode releases: # https://developer.apple.com/support/xcode/ - # Do not pick up components from these prefixes: - _CMAKE_GLOBAL+=" -DCMAKE_IGNORE_PREFIX_PATH=/usr/local;${brew_root}" + # Do not pick up components from this prefix: + _CMAKE_GLOBAL+=" -DCMAKE_IGNORE_PREFIX_PATH=$(brew --prefix)" # Explicitly set the SDK root. # We set it for all build tools for macOS to gain control over this.