[svn-r24887] Fix fortran mod file handling and packing

This commit is contained in:
Allen Byrne 2014-03-24 16:03:32 -05:00
parent 63e1b32068
commit 075a5a9a3a

View File

@ -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