Merge pull request #8851 from radarhere/tiff

Allow cmake<4 when building libavif and libtiff
This commit is contained in:
Andrew Murray 2025-04-01 18:30:45 +11:00 committed by GitHub
commit 869aa5843c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -235,6 +235,7 @@ DEPS: dict[str, dict[str, Any]] = {
"-DBUILD_SHARED_LIBS:BOOL=OFF",
"-DWebP_LIBRARY=libwebp",
'-DCMAKE_C_FLAGS="-nologo -DLZMA_API_STATIC"',
"-DCMAKE_POLICY_VERSION_MINIMUM=3.5",
)
],
"headers": [r"libtiff\tiff*.h"],
@ -394,6 +395,7 @@ DEPS: dict[str, dict[str, Any]] = {
"-DAVIF_CODEC_DAV1D=LOCAL",
"-DAVIF_CODEC_RAV1E=LOCAL",
"-DAVIF_CODEC_SVT=LOCAL",
"-DCMAKE_POLICY_VERSION_MINIMUM=3.5",
),
cmd_xcopy("include", "{inc_dir}"),
],