Skip to content

Commit

Permalink
Try to fix building on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
yan12125 committed Jul 15, 2024
1 parent 07ec632 commit e9e02fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ jobs:
brew link --force qt@5
# Homebrew does not link mkspecs and plugins https://github.com/Homebrew/homebrew-core/issues/93056
export HOMEBREW_QT5_VERSION=$(brew list --versions qt@5 | rev | cut -d' ' -f1 | rev)
sudo ln -s /usr/local/Cellar/qt@5/$HOMEBREW_QT5_VERSION/mkspecs /usr/local/mkspecs
sudo ln -s /usr/local/Cellar/qt@5/$HOMEBREW_QT5_VERSION/plugins /usr/local/plugins
sudo ln -s /opt/homebrew/Cellar/qt@5/$HOMEBREW_QT5_VERSION/mkspecs /opt/homebrew/mkspecs
sudo ln -s /opt/homebrew/Cellar/qt@5/$HOMEBREW_QT5_VERSION/plugins /opt/homebrew/plugins
if: ${{ matrix.os == 'macos-latest' }}

- name: Configure CMake
Expand Down

0 comments on commit e9e02fa

Please sign in to comment.