1
0
mirror of https://github.com/madler/zlib synced 2025-03-28 21:13:15 +00:00

CMake: Restore leading underscore in _LARGEFILE64_SOURCE.

This commit is contained in:
Vollstrecker 2024-12-25 00:51:02 +01:00 committed by Mark Adler
parent 0b9b43b45b
commit d80817ac95

View File

@ -204,7 +204,7 @@ if(ZLIB_BUILD_STATIC)
$<$<BOOL:${MSVC}>:_CRT_SECURE_NO_DEPRECATE>
$<$<BOOL:${MSVC}>:_CRT_NONSTDC_NO_DEPRECATE>
PUBLIC
$<$<BOOL:${HAVE_OFF64_T}>:LARGEFILE64_SOURCE=1>)
$<$<BOOL:${HAVE_OFF64_T}>:_LARGEFILE64_SOURCE=1>)
set_target_properties(zlibstatic PROPERTIES
EXPORT_NAME ZLIBSTATIC
OUTPUT_NAME z${zlib_static_suffix})