Skip to content

Commit 49a2715

Browse files
authored
Merge pull request #195 from pspdev/fix-macos
Fix MacOS build issues
2 parents 4d1e667 + 5a3858f commit 49a2715

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/compilation.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,11 @@ jobs:
7171
steps:
7272
- uses: actions/checkout@v4
7373

74+
- name: Allow CMake to be installed
75+
if: startsWith(matrix.os[0], 'macos')
76+
run: |
77+
brew uninstall cmake
78+
7479
- name : Install dependencies on required OS
7580
run: |
7681
./prepare.sh

prepare.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ if [ "$(uname -s)" = "Darwin" ]; then
77
## Check if using brew
88
if command -v brew &> /dev/null; then
99
brew update
10-
brew install gettext texinfo bison flex gnu-sed ncurses gsl gmp mpfr autoconf automake cmake libusb-compat libarchive gpgme bash openssl libtool
10+
brew install gettext texinfo bison flex gnu-sed ncurses gsl gmp mpfr autoconf automake cmake libusb-compat libarchive gpgme bash openssl libtool zlib
1111
brew reinstall openssl # https://github.com/Homebrew/homebrew-core/issues/169728#issuecomment-2074958306
1212
fi
1313
## Check if using MacPorts

0 commit comments

Comments
 (0)