From 59eb35172f8dc9a46469ad0e4877f9c88ab796cd Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Thu, 25 Apr 2019 14:33:25 +0200 Subject: [PATCH] WIN32: use tif_win32.c when building with CMake see http://bugzilla.maptools.org/show_bug.cgi?id=2829 the top CMakeLists.txt defines win32_io and USE_WIN32_FILEIO WIN32_IO is defined nowhere in CMake (only in automake things) --- libtiff/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libtiff/CMakeLists.txt b/libtiff/CMakeLists.txt index 1cf1b759..080685db 100644 --- a/libtiff/CMakeLists.txt +++ b/libtiff/CMakeLists.txt @@ -104,7 +104,7 @@ set(tiffxx_HEADERS set(tiffxx_SOURCES tif_stream.cxx) -if(WIN32_IO) +if(USE_WIN32_FILEIO) extra_dist(tif_unix.c) list(APPEND tiff_SOURCES tif_win32.c) else()