Skip to content

Commit

Permalink
Corrected the way large file support was implemented in cmakelists.tx…
Browse files Browse the repository at this point in the history
…t, not sure why it was like that to start with. In support of #385
  • Loading branch information
WardF committed Jul 13, 2017
1 parent e4f81a1 commit 97b8e9d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -955,9 +955,7 @@ IF(ENABLE_LARGE_FILE_SUPPORT)
SET(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} /LARGEADDRESSAWARE")
SET(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} /LARGEADDRESSAWARE")
ELSE()
SET(_FILE_OFFSET_BITS 64)
SET(_LARGEFILE64_SOURCE TRUE)
SET(_LARGEFILE_SOURCE TRUE)
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64")
ENDIF()
ENDIF()

Expand Down

0 comments on commit 97b8e9d

Please sign in to comment.