mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-02-17 16:50:18 +08:00
Replace ENABLE_LARGE_FILE_SUPPORT with NETCDF_ENABLE_LARGE_FILE_SUPPORT
This commit is contained in:
parent
39a04033d3
commit
57600055d0
@ -839,8 +839,8 @@ endif()
|
||||
|
||||
# Linux specific large file support flags.
|
||||
# Modelled after check in CMakeLists.txt for hdf5.
|
||||
option(ENABLE_LARGE_FILE_SUPPORT "Enable large file support." ON)
|
||||
if(ENABLE_LARGE_FILE_SUPPORT)
|
||||
option(NETCDF_ENABLE_LARGE_FILE_SUPPORT "Enable large file support." ON)
|
||||
if(NETCDF_ENABLE_LARGE_FILE_SUPPORT)
|
||||
if(MSVC)
|
||||
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /LARGEADDRESSAWARE")
|
||||
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} /LARGEADDRESSAWARE")
|
||||
|
Loading…
Reference in New Issue
Block a user