workflows: Add Qt5 to path for the Mac workflow
This commit is contained in:
4
.github/workflows/cmake.yml
vendored
4
.github/workflows/cmake.yml
vendored
@@ -321,13 +321,13 @@ jobs:
|
|||||||
run: brew install freetype sdl2 libpng rtmidi qt@5 faudio
|
run: brew install freetype sdl2 libpng rtmidi qt@5 faudio
|
||||||
- name: Configure CMake
|
- name: Configure CMake
|
||||||
run: >-
|
run: >-
|
||||||
|
PATH=/usr/local/opt/qt@5/bin:$PATH
|
||||||
cmake -S . -B build
|
cmake -S . -B build
|
||||||
--toolchain cmake/flags-gcc-x86_64.cmake
|
--toolchain cmake/flags-gcc-x86_64.cmake
|
||||||
-D DEV_BRANCH=${{ matrix.build.dev-build }}
|
-D DEV_BRANCH=${{ matrix.build.dev-build }}
|
||||||
-D NEW_DYNAREC=${{ matrix.build.new-dynarec }}
|
-D NEW_DYNAREC=${{ matrix.build.new-dynarec }}
|
||||||
-D CMAKE_BUILD_TYPE=${{ matrix.build.type }}
|
-D CMAKE_BUILD_TYPE=${{ matrix.build.type }}
|
||||||
-D Qt5_DIR=/usr/local/opt/qt@5/lib/cmake/Qt5
|
-D CMAKE_FIND_ROOT_PATH=/usr/local/opt/qt@5
|
||||||
-D Qt5LinguistTools_DIR=/usr/local/opt/qt@5/lib/cmake/Qt5LinguistTools/
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: cmake --build build
|
run: cmake --build build
|
||||||
- name: Generate package
|
- name: Generate package
|
||||||
|
Reference in New Issue
Block a user