diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2019-03-28 21:40:25 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2019-03-28 21:40:45 (GMT) |
commit | b968f9273a30124cb53ab0771fee5de437d20967 (patch) | |
tree | 8e4a9417be3f53442b018d146521c91e20e0c2f9 /CMakeInstallation.cmake | |
parent | c8494e34d1885be7cffcefde0194ed09d5eba8c2 (diff) | |
download | hdf5-b968f9273a30124cb53ab0771fee5de437d20967.zip hdf5-b968f9273a30124cb53ab0771fee5de437d20967.tar.gz hdf5-b968f9273a30124cb53ab0771fee5de437d20967.tar.bz2 |
Allow option to select NAMESPACE
Diffstat (limited to 'CMakeInstallation.cmake')
-rw-r--r-- | CMakeInstallation.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeInstallation.cmake b/CMakeInstallation.cmake index 7cf3450..b933c29 100644 --- a/CMakeInstallation.cmake +++ b/CMakeInstallation.cmake @@ -33,7 +33,7 @@ if (NOT HDF5_EXTERNALLY_CONFIGURED) EXPORT ${HDF5_EXPORTED_TARGETS} DESTINATION ${HDF5_INSTALL_CMAKE_DIR}/hdf5 FILE ${HDF5_PACKAGE}${HDF_PACKAGE_EXT}-targets.cmake - NAMESPACE ${HDF5_PACKAGE}:: + NAMESPACE ${HDF_PACKAGE_NAMESPACE} COMPONENT configinstall ) endif () @@ -45,7 +45,7 @@ if (NOT HDF5_EXTERNALLY_CONFIGURED) export ( TARGETS ${HDF5_LIBRARIES_TO_EXPORT} ${HDF5_LIB_DEPENDENCIES} ${HDF5_UTILS_TO_EXPORT} FILE ${HDF5_PACKAGE}${HDF_PACKAGE_EXT}-targets.cmake - NAMESPACE ${HDF5_PACKAGE}:: + NAMESPACE ${HDF_PACKAGE_NAMESPACE} ) endif () endif () |