-
Notifications
You must be signed in to change notification settings - Fork 263
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added missing install for cmake-based builds, netcdf_mem.h. Also, mov…
…ed install directives for header files into include/CMakeLists.txt. This is in support of #227
- Loading branch information
Showing
2 changed files
with
24 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,26 @@ | ||
##### | ||
# 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() | ||
|
||
|
||
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}") |