diff --git a/CMakeLists.txt b/CMakeLists.txt index 3e2614a7c94ef9fab0751b71353adbed31927a25..f9800b4e9bf73c8ae331866ab265de6b7fbb84ba 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -116,7 +116,10 @@ endif() if(APPLE AND ZIG_STATIC) list(REMOVE_ITEM LLVM_LIBRARIES "-lcurses") - find_library(CURSES NAMES libcurses.a curses libcurses libncurses.a ncurses libncurses) + find_library(CURSES NAMES libcurses.a libncurses.a + PATHS + /usr/local/opt/ncurses/lib + /opt/homebrew/opt/ncurses/lib) list(APPEND LLVM_LIBRARIES "${CURSES}") endif() diff --git a/ci/azure/macos_arm64_script b/ci/azure/macos_arm64_script index fc9fc2f954871b2a9b2e4ce1d8cd0b8efe66308d..b8d1437e781dbc8fddb143b356d11fae79d3b69a 100755 --- a/ci/azure/macos_arm64_script +++ b/ci/azure/macos_arm64_script @@ -3,7 +3,7 @@ set -x set -e -brew update && brew install s3cmd +brew update && brew install ncurses s3cmd ZIGDIR="$(pwd)" diff --git a/ci/azure/macos_script b/ci/azure/macos_script index b320d4f21b2e287551e307d723882967277f56bf..da0e279500f40480132d01abd8dad9fd3550dc30 100755 --- a/ci/azure/macos_script +++ b/ci/azure/macos_script @@ -3,7 +3,7 @@ set -x set -e -brew update && brew install s3cmd +brew update && brew install ncurses s3cmd ZIGDIR="$(pwd)" ARCH="x86_64"