[svn-r19949] Correct CPack confusion with the same for two different functions (not case-sensitive)

This commit is contained in:
Allen Byrne 2011-01-13 14:21:12 -05:00
parent 5f6a465ae7
commit a22b5883b9

View File

@ -982,7 +982,7 @@ IF (NOT HDF5_EXTERNALLY_CONFIGURED)
${HDF5_SOURCE_DIR}/COPYING
${HDF5_SOURCE_DIR}/README.txt
DESTINATION ${HDF5_INSTALL_DATA_DIR}
COMPONENT documents
COMPONENT hdfdocuments
)
IF (EXISTS "${HDF5_SOURCE_DIR}/release_docs" AND IS_DIRECTORY "${HDF5_SOURCE_DIR}/release_docs")
SET (release_files
@ -1014,7 +1014,7 @@ IF (NOT HDF5_EXTERNALLY_CONFIGURED)
INSTALL (
FILES ${release_files}
DESTINATION ${HDF5_INSTALL_DATA_DIR}/release_docs
COMPONENT documents
COMPONENT hdfdocuments
)
ENDIF (EXISTS "${HDF5_SOURCE_DIR}/release_docs" AND IS_DIRECTORY "${HDF5_SOURCE_DIR}/release_docs")
ENDIF (NOT HDF5_EXTERNALLY_CONFIGURED)
@ -1063,7 +1063,7 @@ IF (NOT HDF5_EXTERNALLY_CONFIGURED)
DEPENDS libraries
GROUP Development
)
CPACK_ADD_COMPONENT (documents
CPACK_ADD_COMPONENT (hdfdocuments
DISPLAY_NAME "HDF5 Documents"
GROUP Documents
)