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)
This commit is contained in:
Thomas Bernard 2019-04-25 14:33:25 +02:00
parent 453be8a9ce
commit 59eb35172f
No known key found for this signature in database
GPG Key ID: 0FF11B67A5C0863C

View File

@ -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()