ci: (MacOS) Automatically detect Homebrew prefix

This commit is contained in:
Michael Fabian 'Xaymar' Dirks 2021-03-23 14:35:38 +01:00
parent d8bb1cecc5
commit ee6afdcded

View file

@ -204,7 +204,7 @@ jobs:
-DCMAKE_INSTALL_PREFIX="build/distrib" \ -DCMAKE_INSTALL_PREFIX="build/distrib" \
-DPACKAGE_NAME="streamfx-${{ matrix.id }}" \ -DPACKAGE_NAME="streamfx-${{ matrix.id }}" \
-DPACKAGE_PREFIX="build/package" \ -DPACKAGE_PREFIX="build/package" \
-DQt5_DIR=/usr/local/Cellar/qt@5/5.15.2/lib/cmake/Qt5 -DQt5_DIR=$(brew --prefix)/Cellar/qt@5/5.15.2/lib/cmake/Qt5
- name: "Build Project" - name: "Build Project"
shell: bash shell: bash
run: | run: |