File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments