diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2016-10-14 16:22:22 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2016-10-14 16:22:22 (GMT) |
commit | 3ee36553b9aedb4e4d9cb31339e9c8a9f5ef3a92 (patch) | |
tree | 6c5d469e39b2dc44ccf978431178fb5531e9760a /CMakeInstallation.cmake | |
parent | 052ca6a74199005efe7f324f2a3ac508b18cdc27 (diff) | |
download | hdf5-3ee36553b9aedb4e4d9cb31339e9c8a9f5ef3a92.zip hdf5-3ee36553b9aedb4e4d9cb31339e9c8a9f5ef3a92.tar.gz hdf5-3ee36553b9aedb4e4d9cb31339e9c8a9f5ef3a92.tar.bz2 |
Add support for namespace and add tools to binaries config
Diffstat (limited to 'CMakeInstallation.cmake')
-rw-r--r-- | CMakeInstallation.cmake | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/CMakeInstallation.cmake b/CMakeInstallation.cmake index 045f875..65d2222 100644 --- a/CMakeInstallation.cmake +++ b/CMakeInstallation.cmake @@ -31,6 +31,7 @@ if (NOT HDF5_EXTERNALLY_CONFIGURED) EXPORT ${HDF5_EXPORTED_TARGETS} DESTINATION ${HDF5_INSTALL_CMAKE_DIR} FILE ${HDF5_PACKAGE}${HDF_PACKAGE_EXT}-targets.cmake + NAMESPACE ${HDF5_PACKAGE}:: COMPONENT configinstall ) endif (NOT HDF5_EXTERNALLY_CONFIGURED) @@ -40,8 +41,9 @@ endif (NOT HDF5_EXTERNALLY_CONFIGURED) #----------------------------------------------------------------------------- if (NOT HDF5_EXTERNALLY_CONFIGURED) export ( - TARGETS ${HDF5_LIBRARIES_TO_EXPORT} ${HDF5_LIB_DEPENDENCIES} + TARGETS ${HDF5_LIBRARIES_TO_EXPORT} ${HDF5_LIB_DEPENDENCIES} ${HDF5_UTILS_TO_EXPORT} FILE ${HDF5_PACKAGE}${HDF_PACKAGE_EXT}-targets.cmake + NAMESPACE ${HDF5_PACKAGE}:: ) endif (NOT HDF5_EXTERNALLY_CONFIGURED) |