summaryrefslogtreecommitdiffstats
path: root/hl/src
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2010-09-20 21:02:26 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2010-09-20 21:02:26 (GMT)
commit7c7b4e3deb555c2d2fc3a6a029549a014f29d50e (patch)
tree3f5918dbc0f2bdbac88d0e2604730285dbe699cc /hl/src
parent1d8cd1619ac982396ef1aa35793a97e89027f3da (diff)
downloadhdf5-7c7b4e3deb555c2d2fc3a6a029549a014f29d50e.zip
hdf5-7c7b4e3deb555c2d2fc3a6a029549a014f29d50e.tar.gz
hdf5-7c7b4e3deb555c2d2fc3a6a029549a014f29d50e.tar.bz2
[svn-r19438] Correct use of lib, include, bin in INSTALL commands to use proper variables.
Tested: local linux
Diffstat (limited to 'hl/src')
-rw-r--r--hl/src/CMakeLists.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/hl/src/CMakeLists.txt b/hl/src/CMakeLists.txt
index e34936d..11f6273 100644
--- a/hl/src/CMakeLists.txt
+++ b/hl/src/CMakeLists.txt
@@ -46,7 +46,7 @@ INSTALL (
FILES
${HL_HEADERS}
DESTINATION
- include
+ ${HDF5_INSTALL_INCLUDE_DIR}
COMPONENT
hlheaders
)
@@ -60,8 +60,8 @@ IF (HDF5_EXPORTED_TARGETS)
${HDF5_HL_LIB_TARGET}
EXPORT
${HDF5_EXPORTED_TARGETS}
- LIBRARY DESTINATION lib COMPONENT hllibraries
- ARCHIVE DESTINATION lib COMPONENT hllibraries
- RUNTIME DESTINATION bin COMPONENT hllibraries
+ LIBRARY DESTINATION ${HDF5_INSTALL_LIB_DIR} COMPONENT hllibraries
+ ARCHIVE DESTINATION ${HDF5_INSTALL_LIB_DIR} COMPONENT hllibraries
+ RUNTIME DESTINATION ${HDF5_INSTALL_BIN_DIR} COMPONENT hllibraries
)
ENDIF (HDF5_EXPORTED_TARGETS)