summaryrefslogtreecommitdiffstats
path: root/hl
diff options
context:
space:
mode:
Diffstat (limited to 'hl')
-rw-r--r--hl/c++/src/CMakeLists.txt8
-rw-r--r--hl/fortran/src/CMakeLists.txt6
-rw-r--r--hl/src/CMakeLists.txt8
-rw-r--r--hl/tools/CMakeLists.txt2
4 files changed, 15 insertions, 9 deletions
diff --git a/hl/c++/src/CMakeLists.txt b/hl/c++/src/CMakeLists.txt
index 889b716..459520e 100644
--- a/hl/c++/src/CMakeLists.txt
+++ b/hl/c++/src/CMakeLists.txt
@@ -26,6 +26,8 @@ INSTALL (
${HDF5_HL_CPP_HDRS}
DESTINATION
include/hl/cpp
+ COMPONENT
+ hlcppheaders
)
#-----------------------------------------------------------------------------
@@ -37,8 +39,8 @@ IF (HDF5_EXPORTED_TARGETS)
${HDF5_HL_CPP_LIB_TARGET}
EXPORT
${HDF5_EXPORTED_TARGETS}
- LIBRARY DESTINATION lib
- ARCHIVE DESTINATION lib
- RUNTIME DESTINATION bin
+ LIBRARY DESTINATION lib COMPONENT hlcpplibraries
+ ARCHIVE DESTINATION lib COMPONENT hlcpplibraries
+ RUNTIME DESTINATION bin COMPONENT hlcpplibraries
)
ENDIF (HDF5_EXPORTED_TARGETS)
diff --git a/hl/fortran/src/CMakeLists.txt b/hl/fortran/src/CMakeLists.txt
index a967d54..1ff49d6 100644
--- a/hl/fortran/src/CMakeLists.txt
+++ b/hl/fortran/src/CMakeLists.txt
@@ -96,8 +96,8 @@ IF (HDF5_EXPORTED_TARGETS)
${HDF5_HL_F90_LIB_TARGET}
EXPORT
${HDF5_EXPORTED_TARGETS}
- LIBRARY DESTINATION lib
- ARCHIVE DESTINATION lib
- RUNTIME DESTINATION bin
+ LIBRARY DESTINATION lib COMPONENT hlfortlibraries
+ ARCHIVE DESTINATION lib COMPONENT hlfortlibraries
+ RUNTIME DESTINATION bin COMPONENT hlfortlibraries
)
ENDIF (HDF5_EXPORTED_TARGETS)
diff --git a/hl/src/CMakeLists.txt b/hl/src/CMakeLists.txt
index 8773e50..6042853 100644
--- a/hl/src/CMakeLists.txt
+++ b/hl/src/CMakeLists.txt
@@ -47,6 +47,8 @@ INSTALL (
${HL_HEADERS}
DESTINATION
include
+ COMPONENT
+ hlheaders
)
#-----------------------------------------------------------------------------
@@ -58,8 +60,8 @@ IF (HDF5_EXPORTED_TARGETS)
${HDF5_HL_LIB_TARGET}
EXPORT
${HDF5_EXPORTED_TARGETS}
- LIBRARY DESTINATION lib
- ARCHIVE DESTINATION lib
- RUNTIME DESTINATION bin
+ LIBRARY DESTINATION lib COMPONENT hllibraries
+ ARCHIVE DESTINATION lib COMPONENT hllibraries
+ RUNTIME DESTINATION bin COMPONENT hllibraries
)
ENDIF (HDF5_EXPORTED_TARGETS)
diff --git a/hl/tools/CMakeLists.txt b/hl/tools/CMakeLists.txt
index 5730205..b99e742 100644
--- a/hl/tools/CMakeLists.txt
+++ b/hl/tools/CMakeLists.txt
@@ -52,4 +52,6 @@ INSTALL (
hdf2gif
RUNTIME DESTINATION
bin/tools
+ COMPONENT
+ hltoolsapplications
)