From 8e471ef7cb227dec42c23478eba5eb6b2a58aa34 Mon Sep 17 00:00:00 2001 From: Jessica Stokes Date: Wed, 10 Mar 2021 20:05:53 -0800 Subject: [PATCH] Update find-cmake.sh to find Homebrew ARM cmake On ARM Macs, cmake is installed to /opt/homebrew/bin by Homebrew, rather than /usr/local/bin. This updates the cmake finder script to search that path in addition to the existing list. --- 3rdparty/find-cmake.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/3rdparty/find-cmake.sh b/3rdparty/find-cmake.sh index c677715..3fcc2c2 100755 --- a/3rdparty/find-cmake.sh +++ b/3rdparty/find-cmake.sh @@ -6,6 +6,7 @@ if which -s cmake; then fi known_cmake_paths="/usr/local/bin/cmake \ + /opt/homebrew/bin/cmake \ /opt/local/bin/cmake \ /Applications/CMake.app/Contents/bin/cmake"