Skip to content

Commit d20fda9

Browse files
committed
Allow building libogg with CMake 4.0
1 parent 2787690 commit d20fda9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/windows.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
key: cpm
1313
- uses: ilammy/msvc-dev-cmd@v1
1414
- name: Configure
15-
run: cmake -Bbuild -G"Ninja Multi-Config" -DCMAKE_C_COMPILER=clang-cl -DCMAKE_CXX_COMPILER=clang-cl
15+
run: cmake -Bbuild -G"Ninja Multi-Config" -DCMAKE_C_COMPILER=clang-cl -DCMAKE_CXX_COMPILER=clang-cl -DCMAKE_POLICY_VERSION_MINIMUM=3.5
1616
- name: Build (Debug)
1717
run: cmake --build build --config Debug
1818
- name: Unittest (Debug)
@@ -56,7 +56,7 @@ jobs:
5656
path: .cache/cpm
5757
key: cpm
5858
- name: Configure
59-
run: cmake -Bbuild
59+
run: cmake -Bbuild -DCMAKE_POLICY_VERSION_MINIMUM=3.5
6060
- name: Build (Debug)
6161
run: cmake --build build --config Debug
6262
- name: Unittest (Debug)
@@ -90,7 +90,7 @@ jobs:
9090
Release/jngl-unittest readAsset
9191
Release/jngl-unittest Vec2
9292
- name: Configure (UWP)
93-
run: cmake -Bbuild-uwp -DCMAKE_SYSTEM_NAME=WindowsStore '-DCMAKE_SYSTEM_VERSION=10.0'
93+
run: cmake -Bbuild-uwp -DCMAKE_SYSTEM_NAME=WindowsStore '-DCMAKE_SYSTEM_VERSION=10.0' -DCMAKE_POLICY_VERSION_MINIMUM=3.5
9494
- name: Build (UWP, Debug)
9595
run: cmake --build build-uwp --config Debug
9696
- name: Build (UWP, Release)

0 commit comments

Comments
 (0)