Skip to content

Commit 348bf65

Browse files
committed
Allow cmake<4 when building libavif
1 parent 8141221 commit 348bf65

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

winbuild/build_prepare.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -395,6 +395,7 @@ def cmd_msbuild(
395395
"-DAVIF_CODEC_DAV1D=LOCAL",
396396
"-DAVIF_CODEC_RAV1E=LOCAL",
397397
"-DAVIF_CODEC_SVT=LOCAL",
398+
"-DCMAKE_POLICY_VERSION_MINIMUM=3.5",
398399
),
399400
cmd_xcopy("include", "{inc_dir}"),
400401
],

0 commit comments

Comments
 (0)