2016-02-24 02:12:16 +08:00
|
|
|
#####
|
|
|
|
# Installation of various netCDF headers.
|
|
|
|
#####
|
|
|
|
|
|
|
|
INSTALL(FILES ${netCDF_SOURCE_DIR}/include/netcdf.h
|
|
|
|
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
|
|
|
|
COMPONENT headers)
|
|
|
|
|
|
|
|
INSTALL(FILES ${netCDF_SOURCE_DIR}/include/netcdf_mem.h
|
|
|
|
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
|
|
|
|
COMPONENT headers)
|
|
|
|
|
|
|
|
INSTALL(FILES ${netCDF_BINARY_DIR}/include/netcdf_meta.h
|
|
|
|
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
|
|
|
|
COMPONENT headers)
|
|
|
|
|
|
|
|
IF(ENABLE_PNETCDF OR ENABLE_PARALLEL)
|
|
|
|
INSTALL(FILES ${netCDF_SOURCE_DIR}/include/netcdf_par.h
|
|
|
|
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
|
|
|
|
COMPONENT headers)
|
|
|
|
ENDIF()
|
|
|
|
|
|
|
|
|
2013-06-04 00:42:04 +08:00
|
|
|
FILE(GLOB CUR_EXTRA_DIST RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/*.h)
|
|
|
|
SET(CUR_EXTRA_DIST ${CUR_EXTRA_DIST} Makefile.am CMakeLists.txt)
|
2014-04-22 06:11:48 +08:00
|
|
|
ADD_EXTRA_DIST("${CUR_EXTRA_DIST}")
|