76 lines
3.1 KiB
CMake
76 lines
3.1 KiB
CMake
# NetCDF Configuration Summary
|
|
#
|
|
# General
|
|
#
|
|
|
|
####### Expanded from @PACKAGE_INIT@ by configure_package_config_file() #######
|
|
####### Any changes to this file will be overwritten by the next CMake run ####
|
|
####### The input file was netCDFConfig.cmake.in ########
|
|
|
|
get_filename_component(PACKAGE_PREFIX_DIR "${CMAKE_CURRENT_LIST_DIR}/../../../" ABSOLUTE)
|
|
|
|
macro(set_and_check _var _file)
|
|
set(${_var} "${_file}")
|
|
if(NOT EXISTS "${_file}")
|
|
message(FATAL_ERROR "File or directory ${_file} referenced by variable ${_var} does not exist !")
|
|
endif()
|
|
endmacro()
|
|
|
|
macro(check_required_components _NAME)
|
|
foreach(comp ${${_NAME}_FIND_COMPONENTS})
|
|
if(NOT ${_NAME}_${comp}_FOUND)
|
|
if(${_NAME}_FIND_REQUIRED_${comp})
|
|
set(${_NAME}_FOUND FALSE)
|
|
endif()
|
|
endif()
|
|
endforeach()
|
|
endmacro()
|
|
|
|
####################################################################################
|
|
|
|
set(NetCDFVersion "4.10.1")
|
|
set_and_check(netCDF_INSTALL_PREFIX "/home/xzq/5090/PlantAI-dev4090-7/PlantAI-dev/tools/pymol-env")
|
|
set_and_check(netCDF_INCLUDE_DIR "/home/xzq/5090/PlantAI-dev4090-7/PlantAI-dev/tools/pymol-env/include")
|
|
set_and_check(netCDF_LIB_DIR "/home/xzq/5090/PlantAI-dev4090-7/PlantAI-dev/tools/pymol-env/lib")
|
|
set(netCDF_LIBRARIES netCDF::netcdf)
|
|
|
|
# include target information
|
|
include("${CMAKE_CURRENT_LIST_DIR}/netCDFTargets.cmake")
|
|
|
|
|
|
|
|
# Compiling Options
|
|
#
|
|
set(netCDF_C_COMPILER "/home/conda/feedstock_root/build_artifacts/bld/rattler-build_libnetcdf_1783982068/build_env/bin/x86_64-conda-linux-gnu-cc")
|
|
set(netCDF_C_COMPILER_FLAGS "-march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -fno-merge-constants -isystem /home/xzq/5090/PlantAI-dev4090-7/PlantAI-dev/tools/pymol-env/include -fdebug-prefix-map=/home/conda/feedstock_root/build_artifacts/bld/rattler-build_libnetcdf_1783982068/work=/usr/local/src/conda/libnetcdf-4.10.1 -fdebug-prefix-map=/home/xzq/5090/PlantAI-dev4090-7/PlantAI-dev/tools/pymol-env=/usr/local/src/conda-prefix -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG")
|
|
set(netCDF_C_CPP_FLAGS " ")
|
|
set(netCDF_LDFLAGS "-Wl,-O2 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,--disable-new-dtags -Wl,--gc-sections -Wl,--allow-shlib-undefined -Wl,-rpath,/home/xzq/5090/PlantAI-dev4090-7/PlantAI-dev/tools/pymol-env/lib -Wl,-rpath-link,/home/xzq/5090/PlantAI-dev4090-7/PlantAI-dev/tools/pymol-env/lib -L/home/xzq/5090/PlantAI-dev4090-7/PlantAI-dev/tools/pymol-env/lib ")
|
|
set(netCDF_AM_CFLAGS "")
|
|
set(netCDF_AM_CPPFLAGS "")
|
|
set(netCDF_AM_LDFLAGS "")
|
|
set(netCDF_SHARED yes)
|
|
set(netCDF_STATIC no)
|
|
|
|
# Features:
|
|
#
|
|
set(netCDF_HAS_NC2 yes)
|
|
set(netCDF_HAS_NC4 yes)
|
|
set(netCDF_HAS_HDF4 yes)
|
|
set(netCDF_HAS_HDF5 yes)
|
|
set(netCDF_HAS_PNETCDF no)
|
|
set(netCDF_HAS_PARALLEL no)
|
|
set(netCDF_HAS_DAP yes)
|
|
set(netCDF_HAS_DAP2 yes)
|
|
set(netCDF_HAS_DAP4 yes)
|
|
set(netCDF_HAS_DISKLESS yes)
|
|
set(netCDF_HAS_MMAP yes)
|
|
if (netCDF_HAS_HDF4 OR netCDF_HAS_HDF5)
|
|
include(CMakeFindDependencyMacro)
|
|
find_dependency(HDF5)
|
|
endif ()
|
|
|
|
if (no)
|
|
include(CMakeFindDependencyMacro)
|
|
find_dependency(MPI EXACT)
|
|
endif()
|