mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-27 07:30:33 +08:00
033712ef1e
As best I can tell, this should be ENABLE_PARALLEL4 instead of ENABLE_PARALLEL. ENABLE_PARALLEL is not used other than in a couple documentation files. But, ENABLE_PARALLEL4 is set in the top-level CMakeLists.txt file if a parallel hdf5 library is detected.
27 lines
782 B
CMake
27 lines
782 B
CMake
#####
|
|
# 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_PARALLEL4)
|
|
INSTALL(FILES ${netCDF_SOURCE_DIR}/include/netcdf_par.h
|
|
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
|
|
COMPONENT headers)
|
|
ENDIF()
|
|
|
|
|
|
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)
|
|
ADD_EXTRA_DIST("${CUR_EXTRA_DIST}")
|