aboutsummaryrefslogtreecommitdiff
path: root/cmake/tuklib_large_file_support.cmake (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-10-26CMake: Use -D_FILE_OFFSET_BITS=64 if (and only if) needed.Lasse Collin1-0/+52
A CMake option LARGE_FILE_SUPPORT is created if and only if -D_FILE_OFFSET_BITS=64 affects sizeof(off_t). This is needed on many 32-bit platforms and even with 64-bit builds with MinGW-w64 to get support for files larger than 2 GiB.