Add _FILE_OFFSET_BITS=64 define to enable large file support on 32-bit.

pull/3529/head
Doug Nazar 2022-07-16 03:20:20 -04:00
parent 3b21153757
commit ca1cca2ff4
1 changed files with 2 additions and 0 deletions

View File

@ -43,6 +43,8 @@ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/Modules/")
set (CMAKE_CXX_STANDARD 17)
set (CMAKE_CXX_STANDARD_REQUIRED ON)
add_compile_definitions(_FILE_OFFSET_BITS=64)
include(ConfigureBaseTargets)
include(CheckPlatform)