Skip to content

Commit 8141221

Browse files
committed
Allow cmake<4 when building libtiff
1 parent 7d50816 commit 8141221

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
@@ -235,6 +235,7 @@ def cmd_msbuild(
235235
"-DBUILD_SHARED_LIBS:BOOL=OFF",
236236
"-DWebP_LIBRARY=libwebp",
237237
'-DCMAKE_C_FLAGS="-nologo -DLZMA_API_STATIC"',
238+
"-DCMAKE_POLICY_VERSION_MINIMUM=3.5",
238239
)
239240
],
240241
"headers": [r"libtiff\tiff*.h"],

0 commit comments

Comments
 (0)