From: Manuel Nickschas Date: Fri, 12 Mar 2021 11:09:24 +0000 (+0100) Subject: ci: Find Qt5 again on macOS X-Git-Tag: 0.14-rc2~27 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=61219bb0ca15a6356fde510fd114fd3b6628f08b;ds=inline ci: Find Qt5 again on macOS With the introduction of Qt6 to homebrew, the install location of Qt5 has changed from /usr/local/opt/qt to the version-specific .../opt/qt@5. Adapt CMAKE_PREFIX_PATH accordingly. No longer hardcode the brew prefix. Also use the recommended, versioned package name "qt@5" instead of the "qt5" alias. --- diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2bcfc196..e75905f0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -120,7 +120,7 @@ jobs: # If Homebrew begins failing in the future due to out-of-date versions, # it can be re-enabled here as follows... # run: brew update && [below command] - run: brew install boost ccache ninja qca qt5 + run: brew install boost ccache ninja qca qt@5 - name: Get timestamp id: get-timestamp @@ -145,7 +145,7 @@ jobs: -DWANT_CORE=ON \ -DWANT_QTCLIENT=ON \ -DWANT_MONO=ON \ - -DCMAKE_PREFIX_PATH=/usr/local/opt/qt/lib/cmake \ + -DCMAKE_PREFIX_PATH=$(brew --prefix)/opt/qt@5 \ -DCMAKE_INSTALL_PREFIX=$GITHUB_WORKSPACE/bundles \ -DCMAKE_BUILD_TYPE=Release \ -DBUILD_TESTING=ON \