File tree Expand file tree Collapse file tree 1 file changed +0
-24
lines changed
Expand file tree Collapse file tree 1 file changed +0
-24
lines changed Original file line number Diff line number Diff line change @@ -99,30 +99,6 @@ else()
9999 endif ()
100100
101101
102- # NetCDF feature tests (after NetCDF_C detection)
103- if (NetCDF_C_FOUND AND NetCDF_C_INCLUDE_DIRS)
104- # Test for NetCDF-4 capability
105- set (CMAKE_REQUIRED_INCLUDES ${NetCDF_C_INCLUDE_DIRS} )
106- CHECK_C_SOURCE_COMPILES("
107- #include <netcdf_meta.h>
108- #if !defined(NC_VERSION_MAJOR) || NC_VERSION_MAJOR < 4
109- choke me
110- #endif
111- int main() {return 0;}" HAVE_NETCDF4)
112-
113- # Test for NetCDF parallel I/O capability
114- set (CMAKE_REQUIRED_INCLUDES ${NetCDF_C_INCLUDE_DIRS} )
115- CHECK_C_SOURCE_COMPILES("
116- #include <netcdf_meta.h>
117- #if !NC_HAS_PARALLEL
118- choke me
119- #endif
120- int main() {return 0;}" HAVE_NETCDF_PAR)
121- else ()
122- set (HAVE_NETCDF4 FALSE )
123- set (HAVE_NETCDF_PAR FALSE )
124- endif ()
125-
126102# The size of the data buffer for write/read_darray().
127103set (PIO_BUFFER_SIZE 134217728)
128104
You can’t perform that action at this time.
0 commit comments