diff options
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 8 |
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) |