File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -97,24 +97,29 @@ jobs:
97
97
libjpeg-dev \
98
98
libtiff-dev \
99
99
libwebp-dev
100
-
100
+
101
+ - name : Install Dependencies on macOS
102
+ if : matrix.os == 'macos-latest'
103
+ run : |
104
+ brew install libpng jpeg libtiff webp
105
+
101
106
- name : Configure SDL with CMake on Linux (x86_64)
102
107
if : matrix.os == 'linux' || matrix.os == 'ubuntu-latest'
103
108
run : |
104
109
cd SDLImage/SDL
105
- cmake -S . -B ./build -DSDL_STATIC=OFF -DSDL_SHARED=ON
110
+ cmake -S . -B ./build
106
111
107
112
- name : Configure SDL with CMake for macOS ARM64
108
113
if : matrix.os == 'macos-latest'
109
114
run : |
110
115
cd SDLImage/SDL
111
- cmake -S . -B ./build -DCMAKE_OSX_ARCHITECTURES=${{ matrix.cmake-arch }} -DSDL_STATIC=OFF -DSDL_SHARED=ON
116
+ cmake -S . -B ./build -DCMAKE_OSX_ARCHITECTURES=${{ matrix.cmake-arch }}
112
117
113
118
- name : Configure SDL with CMake for Windows
114
119
if : matrix.os == 'windows-latest'
115
120
run : |
116
121
cd SDLImage/SDL
117
- cmake -S . -B ./build -A ${{ matrix.cmake-arch }} -DSDL_STATIC=OFF -DSDL_SHARED=ON
122
+ cmake -S . -B ./build -A ${{ matrix.cmake-arch }}
118
123
119
124
- name : Build SDL2
120
125
run : |
You can’t perform that action at this time.
0 commit comments