diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2011-05-18 18:23:41 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2011-05-18 18:23:41 (GMT) |
commit | 54728019ca2a5be26efcc56fd361cbcc11f5b36a (patch) | |
tree | 3c1d3ebd630d855c8c691e2413b85ddd3d2dfbfe /CMakeLists.txt | |
parent | 5d7907cde59e2e0e00e2ea8075d1c82a5f9f8b4b (diff) | |
download | hdf5-54728019ca2a5be26efcc56fd361cbcc11f5b36a.zip hdf5-54728019ca2a5be26efcc56fd361cbcc11f5b36a.tar.gz hdf5-54728019ca2a5be26efcc56fd361cbcc11f5b36a.tar.bz2 |
[svn-r20863] Adjust CPack configuration location by removing version extension in folder name. Add install configuration commands if ext libs are packaged with project.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 7022f5a..9253757 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -732,7 +732,7 @@ ENDIF (NOT HDF5_INSTALL_NO_DEVELOPMENT) IF (NOT HDF5_EXTERNALLY_CONFIGURED) INSTALL ( EXPORT ${HDF5_EXPORTED_TARGETS} - DESTINATION ${HDF5_INSTALL_DATA_DIR}/cmake/hdf5-${HDF5_PACKAGE_VERSION} + DESTINATION ${HDF5_INSTALL_DATA_DIR}/cmake/hdf5 FILE hdf5-targets.cmake ) ENDIF (NOT HDF5_EXTERNALLY_CONFIGURED) @@ -773,7 +773,7 @@ IF (NOT HDF5_EXTERNALLY_CONFIGURED) ) INSTALL ( FILES ${HDF5_BINARY_DIR}/CMakeFiles/hdf5-config.cmake - DESTINATION ${HDF5_INSTALL_DATA_DIR}/cmake/hdf5-${HDF5_PACKAGE_VERSION} + DESTINATION ${HDF5_INSTALL_DATA_DIR}/cmake/hdf5 ) ENDIF (NOT HDF5_EXTERNALLY_CONFIGURED) @@ -787,7 +787,7 @@ IF (NOT HDF5_EXTERNALLY_CONFIGURED) ) INSTALL ( FILES ${HDF5_BINARY_DIR}/CMakeFiles/hdf5-config-version.cmake - DESTINATION ${HDF5_INSTALL_DATA_DIR}/cmake/hdf5-${HDF5_PACKAGE_VERSION} + DESTINATION ${HDF5_INSTALL_DATA_DIR}/cmake/hdf5 ) ENDIF (NOT HDF5_EXTERNALLY_CONFIGURED) |