mirror of
https://github.com/Lime3DS/Lime3DS
synced 2024-12-26 17:12:37 -06:00
cmake: mingw also needs _FILE_OFFSET_BITS=64
This commit is contained in:
parent
25a370ef19
commit
380b83e9bd
1 changed files with 1 additions and 1 deletions
|
@ -170,7 +170,7 @@ endif()
|
|||
# On modern Unixes, this is typically already the case. The lone exception is
|
||||
# glibc, which may default to 32 bits. glibc allows this to be configured
|
||||
# by setting _FILE_OFFSET_BITS.
|
||||
if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
||||
if(CMAKE_SYSTEM_NAME STREQUAL "Linux" OR MINGW)
|
||||
add_definitions(-D_FILE_OFFSET_BITS=64)
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Reference in a new issue