Add _FILE_OFFSET_BITS=64 define to enable large file support on 32-bit.
parent
3b21153757
commit
ca1cca2ff4
|
@ -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 17)
|
||||||
set (CMAKE_CXX_STANDARD_REQUIRED ON)
|
set (CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||||
|
|
||||||
|
add_compile_definitions(_FILE_OFFSET_BITS=64)
|
||||||
|
|
||||||
include(ConfigureBaseTargets)
|
include(ConfigureBaseTargets)
|
||||||
include(CheckPlatform)
|
include(CheckPlatform)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue