We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f40eed2 commit 8905480Copy full SHA for 8905480
.github/workflows/wheels-dependencies.sh
@@ -132,8 +132,10 @@ function build_libavif {
132
# libavif) to disable the compilation and inclusion of aom's AV1 decoder.
133
# CONFIG_AV1_HIGHBITDEPTH=0 is another flag for libaom that disables support
134
# for encoding high bit depth images.
135
+ # CMAKE_POLICY_VERSION_MINIMUM=3.9 enables cmake policy CMP0069, which is
136
+ # required to allow INTERPROCEDURAL_OPTIMIZATION (-flto) WITH gcc
137
(cd $out_dir \
- && CMAKE_POLICY_VERSION_MINIMUM=3.5 cmake \
138
+ && CMAKE_POLICY_VERSION_MINIMUM=3.9 cmake \
139
-DCMAKE_INSTALL_PREFIX=$BUILD_PREFIX \
140
-DCMAKE_INSTALL_LIBDIR=$BUILD_PREFIX/lib \
141
-DCMAKE_INSTALL_NAME_DIR=$BUILD_PREFIX/lib \
0 commit comments