Skip to content

Commit a510630

Browse files
authored
Update cmake-arm-win.yml
1 parent f3a6d01 commit a510630

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/cmake-arm-win.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,18 @@ jobs:
2121
ref: '5.0'
2222
submodules: true
2323

24+
- name: Install dependencies on Windows
25+
if: matrix.os == 'windows-latest'
26+
run: |
27+
cd raylib
28+
git clone https://github.com/microsoft/vcpkg.git
29+
.\vcpkg\bootstrap-vcpkg.bat
30+
.\vcpkg\vcpkg.exe install opengl:${{ matrix.triplet }}
31+
2432
- name: Configure Raylib with CMake on Windows
2533
run: |
2634
cd raylib
27-
cmake -S ./ -B ./build -DCMAKE_BUILD_TYPE=Release -A ${{ matrix.arch-cmake }} -DBUILD_SHARED_LIBS=ON -DBUILD_EXAMPLES=OFF
35+
cmake -S ./ -B ./build -DCMAKE_BUILD_TYPE=Release -A ${{ matrix.arch-cmake }} -DBUILD_SHARED_LIBS=ON -DBUILD_EXAMPLES=OFF -DCMAKE_TOOLCHAIN_FILE="./vcpkg/scripts/buildsystems/vcpkg.cmake"
2836
2937
- name: Build raylib
3038
run: cmake --build raylib/build --config Release

0 commit comments

Comments
 (0)