summaryrefslogtreecommitdiffstats
path: root/hl
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2014-03-24 21:03:32 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2014-03-24 21:03:32 (GMT)
commit075a5a9a3a45d6b052999ce3bab3bcf3c2181609 (patch)
treeca8559b10c290d0e679743db05059dbbce6a41f8 /hl
parent63e1b32068fb84f5d4a4bff2fc06a2801f141054 (diff)
downloadhdf5-075a5a9a3a45d6b052999ce3bab3bcf3c2181609.zip
hdf5-075a5a9a3a45d6b052999ce3bab3bcf3c2181609.tar.gz
hdf5-075a5a9a3a45d6b052999ce3bab3bcf3c2181609.tar.bz2
[svn-r24887] Fix fortran mod file handling and packing
Diffstat (limited to 'hl')
-rw-r--r--hl/fortran/src/CMakeLists.txt14
1 files changed, 10 insertions, 4 deletions
diff --git a/hl/fortran/src/CMakeLists.txt b/hl/fortran/src/CMakeLists.txt
index f0b5d3d..0827195 100644
--- a/hl/fortran/src/CMakeLists.txt
+++ b/hl/fortran/src/CMakeLists.txt
@@ -74,8 +74,11 @@ set_target_properties (${HDF5_HL_F90_LIB_TARGET} PROPERTIES FOLDER libraries/hl/
#-----------------------------------------------------------------------------
if (WIN32 AND NOT CYGWIN)
install (
- DIRECTORY
- ${CMAKE_Fortran_MODULE_DIRECTORY}/\${BUILD_TYPE}/
+ FILES
+ ${CMAKE_Fortran_MODULE_DIRECTORY}/\${BUILD_TYPE}/H5ds.f90
+ ${CMAKE_Fortran_MODULE_DIRECTORY}/\${BUILD_TYPE}/H5tb.f90
+ ${CMAKE_Fortran_MODULE_DIRECTORY}/\${BUILD_TYPE}/H5lt.f90
+ ${CMAKE_Fortran_MODULE_DIRECTORY}/\${BUILD_TYPE}/H5im.f90
DESTINATION
${HDF5_INSTALL_INCLUDE_DIR}
COMPONENT
@@ -83,8 +86,11 @@ if (WIN32 AND NOT CYGWIN)
)
else (WIN32 AND NOT CYGWIN)
install (
- DIRECTORY
- ${CMAKE_Fortran_MODULE_DIRECTORY}/
+ FILES
+ ${CMAKE_Fortran_MODULE_DIRECTORY}/H5ds.f90
+ ${CMAKE_Fortran_MODULE_DIRECTORY}/H5tb.f90
+ ${CMAKE_Fortran_MODULE_DIRECTORY}/H5lt.f90
+ ${CMAKE_Fortran_MODULE_DIRECTORY}/H5im.f90
DESTINATION
${HDF5_INSTALL_INCLUDE_DIR}
COMPONENT