Skip to content

Commit 45f8510

Browse files
committed
Use interprocedural optimization on Windows
1 parent 79ceebd commit 45f8510

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

winbuild/build_prepare.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -396,6 +396,7 @@ def cmd_msbuild(
396396
"-DAVIF_LIBYUV=LOCAL",
397397
"-DAVIF_CODEC_AOM=LOCAL",
398398
"-DCMAKE_POLICY_VERSION_MINIMUM=3.5",
399+
"-DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON",
399400
build_type="MinSizeRel",
400401
),
401402
cmd_xcopy("include", "{inc_dir}"),

0 commit comments

Comments
 (0)