summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2021-11-01 21:52:20 +0100
committerEven Rouault <even.rouault@spatialys.com>2021-11-01 21:52:24 +0100
commit10921ed8bdfa9346cc4d60e2c2fae159dcbcd19b (patch)
tree381f08080135bef9550b5ea97b0ca8ca2125aace
parent8514e640c5d3b1d7c0070d1469a5161b09471d96 (diff)
downloadlibtiff-git-10921ed8bdfa9346cc4d60e2c2fae159dcbcd19b.tar.gz
Fix STRIPCHOP_DEFAULT value in CMake builds
CMake builds erroneously used value 1 instead of TIFF_STRIPCHOP, which resulted in strip chopping not being enabled by default.
-rw-r--r--libtiff/tiffconf.h.cmake.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/libtiff/tiffconf.h.cmake.in b/libtiff/tiffconf.h.cmake.in
index 66ab3541..5afbf3b2 100644
--- a/libtiff/tiffconf.h.cmake.in
+++ b/libtiff/tiffconf.h.cmake.in
@@ -95,7 +95,7 @@
/* Support strip chopping (whether or not to convert single-strip uncompressed
images to multiple strips of ~8Kb to reduce memory usage) */
-#cmakedefine STRIPCHOP_DEFAULT 1
+#cmakedefine STRIPCHOP_DEFAULT TIFF_STRIPCHOP
/* Enable SubIFD tag (330) support */
#cmakedefine SUBIFD_SUPPORT 1