summaryrefslogtreecommitdiffstats
path: root/hl
diff options
context:
space:
mode:
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