Skip to content

Commit 96f76ca

Browse files
committed
ci: add fix for CMake >=4 deprecation on Windows
A proper fix will have to wait for upstream.
1 parent cac2cf9 commit 96f76ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
cmake:p
8080
ninja:p
8181
- name: 'Configure'
82-
run: 'cmake -B build -G "MSYS Makefiles" -DCMAKE_BUILD_TYPE=Release -DZK_BUILD_EXAMPLES=OFF -DZK_BUILD_TESTS=OFF'
82+
run: 'cmake -B build -G "MSYS Makefiles" -DCMAKE_BUILD_TYPE=Release -DZK_BUILD_EXAMPLES=OFF -DZK_BUILD_TESTS=OFF -DCMAKE_POLICY_VERSION_MINIMUM=3.5'
8383
- name: 'Build'
8484
run: 'cmake --build build --config Release -j 2'
8585
- name: 'Rename Artifact'

0 commit comments

Comments
 (0)