summaryrefslogtreecommitdiffstats
path: root/CMakeInstallation.cmake
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2014-10-15 16:25:05 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2014-10-15 16:25:05 (GMT)
commitd3dbcf313f1f75644f7232bdfe3c66abade1677f (patch)
tree1578fc09d5e95d8d163e187fdf2ccd371568df77 /CMakeInstallation.cmake
parent6d82d6c7cdb1c1449eb7783b3ecb7b50c0bc7949 (diff)
downloadhdf5-d3dbcf313f1f75644f7232bdfe3c66abade1677f.zip
hdf5-d3dbcf313f1f75644f7232bdfe3c66abade1677f.tar.gz
hdf5-d3dbcf313f1f75644f7232bdfe3c66abade1677f.tar.bz2
[svn-r25706] Change hdf5 config install location.
Diffstat (limited to 'CMakeInstallation.cmake')
-rw-r--r--CMakeInstallation.cmake10
1 files changed, 5 insertions, 5 deletions
diff --git a/CMakeInstallation.cmake b/CMakeInstallation.cmake
index beeea60..f82d3b4 100644
--- a/CMakeInstallation.cmake
+++ b/CMakeInstallation.cmake
@@ -17,7 +17,7 @@ endif (NOT HDF5_INSTALL_NO_DEVELOPMENT)
if (NOT HDF5_EXTERNALLY_CONFIGURED)
install (
EXPORT ${HDF5_EXPORTED_TARGETS}
- DESTINATION ${HDF5_INSTALL_CMAKE_DIR}/${HDF5_PACKAGE}
+ DESTINATION ${HDF5_INSTALL_CMAKE_DIR}
FILE ${HDF5_PACKAGE}${HDF_PACKAGE_EXT}-targets.cmake
COMPONENT configinstall
)
@@ -72,7 +72,7 @@ if (NOT HDF5_EXTERNALLY_CONFIGURED)
)
install (
FILES ${HDF5_BINARY_DIR}/CMakeFiles/FindHDF5${HDF_PACKAGE_EXT}.cmake
- DESTINATION ${HDF5_INSTALL_CMAKE_DIR}/${HDF5_PACKAGE}
+ DESTINATION ${HDF5_INSTALL_CMAKE_DIR}
COMPONENT configinstall
)
endif (NOT HDF5_EXTERNALLY_CONFIGURED)
@@ -93,7 +93,7 @@ configure_package_config_file (
if (NOT HDF5_EXTERNALLY_CONFIGURED)
install (
FILES ${HDF5_BINARY_DIR}/CMakeFiles/${HDF5_PACKAGE}${HDF_PACKAGE_EXT}-config.cmake
- DESTINATION ${HDF5_INSTALL_CMAKE_DIR}/${HDF5_PACKAGE}
+ DESTINATION ${HDF5_INSTALL_CMAKE_DIR}
COMPONENT configinstall
)
endif (NOT HDF5_EXTERNALLY_CONFIGURED)
@@ -108,7 +108,7 @@ if (NOT HDF5_EXTERNALLY_CONFIGURED)
)
install (
FILES ${HDF5_BINARY_DIR}/CMakeFiles/${HDF5_PACKAGE}${HDF_PACKAGE_EXT}-config-version.cmake
- DESTINATION ${HDF5_INSTALL_CMAKE_DIR}/${HDF5_PACKAGE}
+ DESTINATION ${HDF5_INSTALL_CMAKE_DIR}
COMPONENT configinstall
)
endif (NOT HDF5_EXTERNALLY_CONFIGURED)
@@ -127,7 +127,7 @@ configure_file (
)
install (
FILES ${HDF5_BINARY_DIR}/libhdf5.settings
- DESTINATION ${HDF5_INSTALL_CMAKE_DIR}/${HDF5_PACKAGE}
+ DESTINATION ${HDF5_INSTALL_CMAKE_DIR}
COMPONENT libraries
)