2014-08-21 02:30:11 +08:00
|
|
|
# NetCDF Configuration Summary
|
|
|
|
#
|
|
|
|
# General
|
|
|
|
#
|
|
|
|
@PACKAGE_INIT@
|
|
|
|
|
|
|
|
set(NetCDFVersion "@PACKAGE_VERSION@")
|
|
|
|
|
2020-01-25 07:53:16 +08:00
|
|
|
set(netCDF_LIBRARIES netCDF::netcdf)
|
2014-08-22 01:08:55 +08:00
|
|
|
|
|
|
|
# include target information
|
|
|
|
include("${CMAKE_CURRENT_LIST_DIR}/netCDFTargets.cmake")
|
2014-08-21 16:11:30 +08:00
|
|
|
|
2023-01-25 04:07:39 +08:00
|
|
|
@IMPORT_MPI@
|
|
|
|
|
2014-08-21 02:30:11 +08:00
|
|
|
# Compiling Options
|
|
|
|
#
|
2014-08-22 01:08:55 +08:00
|
|
|
set(netCDF_C_COMPILER "@CC_VERSION@")
|
|
|
|
set(netCDF_C_COMPILER_FLAGS "@CFLAGS@")
|
|
|
|
set(netCDF_C_CPP_FLAGS "@CPPFLAGS@")
|
|
|
|
set(netCDF_LDFLAGS "@LDFLAGS@")
|
|
|
|
set(netCDF_AM_CFLAGS "@AM_CFLAGS@")
|
|
|
|
set(netCDF_AM_CPPFLAGS "@AM_CPPFLAGS@")
|
|
|
|
set(netCDF_AM_LDFLAGS "@AM_LDFLAGS@")
|
2014-08-21 02:30:11 +08:00
|
|
|
set(netCDF_SHARED @enable_shared@)
|
|
|
|
set(netCDF_STATIC @enable_static@)
|
|
|
|
|
|
|
|
# Features:
|
|
|
|
#
|
|
|
|
set(netCDF_HAS_NC2 @HAS_NC2@)
|
|
|
|
set(netCDF_HAS_NC4 @HAS_NC4@)
|
|
|
|
set(netCDF_HAS_HDF4 @HAS_HDF4@)
|
|
|
|
set(netCDF_HAS_HDF5 @HAS_HDF5@)
|
|
|
|
set(netCDF_HAS_PNETCDF @HAS_PNETCDF@)
|
|
|
|
set(netCDF_HAS_PARALLEL @HAS_PARALLEL@)
|
2017-03-09 08:01:10 +08:00
|
|
|
set(netCDF_HAS_DAP @HAS_DAP2@)
|
|
|
|
set(netCDF_HAS_DAP2 @HAS_DAP2@)
|
|
|
|
set(netCDF_HAS_DAP4 @HAS_DAP4@)
|
2014-08-21 02:30:11 +08:00
|
|
|
set(netCDF_HAS_DISKLESS @HAS_DISKLESS@)
|
|
|
|
set(netCDF_HAS_MMAP @HAS_MMAP@)
|
|
|
|
set(netCDF_HAS_JNA @HAS_JNA@)
|
2023-09-07 02:43:53 +08:00
|
|
|
if (netCDF_HAS_HDF4 OR netCDF_HAS_HDF5)
|
|
|
|
include(CMakeFindDependencyMacro)
|
|
|
|
find_dependency(HDF5)
|
|
|
|
endif ()
|
2023-10-02 17:51:02 +08:00
|
|
|
|
|
|
|
if (@HAS_PARALLEL@)
|
|
|
|
include(CMakeFindDependencyMacro)
|
|
|
|
find_dependency(MPI @MPI_C_VERSION@ EXACT)
|
|
|
|
endif()
|