libtiff: CMake: fix build with -Dstrip-chopping=off (fixes #600) (52479)

From 52479e3bbf4068c2d0fbc87f6afe2e4f6be82d31 Mon Sep 17 00:00:00 2001
From: Even Rouault <[EMAIL REDACTED]>
Date: Tue, 5 Sep 2023 11:42:19 +0200
Subject: [PATCH] CMake: fix build with -Dstrip-chopping=off (fixes #600)

(cherry picked from commit f71fc355358f64d6d1c14950a7aabf0e16df6808)
---
 libtiff/tif_config.h.cmake.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libtiff/tif_config.h.cmake.in b/libtiff/tif_config.h.cmake.in
index 1547af46..a27ee217 100644
--- a/libtiff/tif_config.h.cmake.in
+++ b/libtiff/tif_config.h.cmake.in
@@ -116,7 +116,7 @@
 #define SIZEOF_SIZE_T @SIZEOF_SIZE_T@
 
 /* Default size of the strip in bytes (when strip chopping enabled) */
-#define STRIP_SIZE_DEFAULT @STRIP_SIZE_DEFAULT@
+#cmakedefine STRIP_SIZE_DEFAULT @STRIP_SIZE_DEFAULT@
 
 /** Maximum number of TIFF IFDs that libtiff can iterate through in a file. */
 #define TIFF_MAX_DIR_COUNT @TIFF_MAX_DIR_COUNT@