summaryrefslogtreecommitdiffstats
path: root/c++
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 /c++
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 'c++')
-rw-r--r--c++/src/CMakeLists.txt8
1 files changed, 5 insertions, 3 deletions
diff --git a/c++/src/CMakeLists.txt b/c++/src/CMakeLists.txt
index 3658e57..2cf3d7b 100644
--- a/c++/src/CMakeLists.txt
+++ b/c++/src/CMakeLists.txt
@@ -94,6 +94,8 @@ INSTALL (
${CPP_HDRS}
DESTINATION
include/cpp
+ COMPONENT
+ cppheaders
)
#-----------------------------------------------------------------------------
@@ -105,9 +107,9 @@ IF (HDF5_EXPORTED_TARGETS)
${HDF5_CPP_LIB_TARGET}
EXPORT
${HDF5_EXPORTED_TARGETS}
- LIBRARY DESTINATION lib
- ARCHIVE DESTINATION lib
- RUNTIME DESTINATION bin
+ LIBRARY DESTINATION lib COMPONENT cpplibraries
+ ARCHIVE DESTINATION lib COMPONENT cpplibraries
+ RUNTIME DESTINATION bin COMPONENT cpplibraries
)
ENDIF (HDF5_EXPORTED_TARGETS)