summaryrefslogtreecommitdiffstats
path: root/hl/c++
diff options
context:
space:
mode:
Diffstat (limited to 'hl/c++')
-rw-r--r--hl/c++/src/CMakeLists.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/hl/c++/src/CMakeLists.txt b/hl/c++/src/CMakeLists.txt
index afd4cf4..1e765e9 100644
--- a/hl/c++/src/CMakeLists.txt
+++ b/hl/c++/src/CMakeLists.txt
@@ -26,7 +26,7 @@ INSTALL (
FILES
${HDF5_HL_CPP_HDRS}
DESTINATION
- include/hl/cpp
+ ${HDF5_INSTALL_INCLUDE_DIR}/hl/cpp
COMPONENT
hlcppheaders
)
@@ -40,8 +40,8 @@ IF (HDF5_EXPORTED_TARGETS)
${HDF5_HL_CPP_LIB_TARGET}
EXPORT
${HDF5_EXPORTED_TARGETS}
- LIBRARY DESTINATION lib COMPONENT hlcpplibraries
- ARCHIVE DESTINATION lib COMPONENT hlcpplibraries
- RUNTIME DESTINATION bin COMPONENT hlcpplibraries
+ LIBRARY DESTINATION ${HDF5_INSTALL_LIB_DIR} COMPONENT hlcpplibraries
+ ARCHIVE DESTINATION ${HDF5_INSTALL_LIB_DIR} COMPONENT hlcpplibraries
+ RUNTIME DESTINATION ${HDF5_INSTALL_BIN_DIR} COMPONENT hlcpplibraries
)
ENDIF (HDF5_EXPORTED_TARGETS)