summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2010-05-19 20:11:00 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2010-05-19 20:11:00 (GMT)
commit80e6dfe3ba830d2e1399737ecd23b16889c262c9 (patch)
tree803f9f6729bdd5e43608bab6e108a3c9b0d55e2e /src
parent2fc65cf787c134a7c1d7c12d0a990c56d21d381e (diff)
downloadhdf5-80e6dfe3ba830d2e1399737ecd23b16889c262c9.zip
hdf5-80e6dfe3ba830d2e1399737ecd23b16889c262c9.tar.gz
hdf5-80e6dfe3ba830d2e1399737ecd23b16889c262c9.tar.bz2
[svn-r18856] Added CPack commands for installtion program
Tested: local linux and Windows
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index bdcc598..506ca80 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -704,6 +704,8 @@ INSTALL (
${H5_PRIVATE_HEADERS}
DESTINATION
include
+ COMPONENT
+ headers
)
#-----------------------------------------------------------------------------
@@ -715,8 +717,8 @@ IF (HDF5_EXPORTED_TARGETS)
${HDF5_LIB_TARGET}
EXPORT
${HDF5_EXPORTED_TARGETS}
- LIBRARY DESTINATION lib
- ARCHIVE DESTINATION lib
- RUNTIME DESTINATION bin
+ LIBRARY DESTINATION lib COMPONENT libraries
+ ARCHIVE DESTINATION lib COMPONENT libraries
+ RUNTIME DESTINATION bin COMPONENT libraries
)
ENDIF (HDF5_EXPORTED_TARGETS)