diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2019-03-28 21:41:43 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2019-03-28 21:41:43 (GMT) |
commit | 0ccedf94da60cb209f388344301b03a3ab4417ca (patch) | |
tree | ee148b6d6cfc70f471f96450e34e51e56d5f6ece /CMakeInstallation.cmake | |
parent | 657c407a2f1788cc9e841311b3d1960bb26753a6 (diff) | |
download | hdf5-0ccedf94da60cb209f388344301b03a3ab4417ca.zip hdf5-0ccedf94da60cb209f388344301b03a3ab4417ca.tar.gz hdf5-0ccedf94da60cb209f388344301b03a3ab4417ca.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 9f54a1f..a4a716c 100644 --- a/CMakeInstallation.cmake +++ b/CMakeInstallation.cmake @@ -43,7 +43,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 ${PACKAGE_NAMESPACE} COMPONENT configinstall ) endif () @@ -55,7 +55,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 ${PACKAGE_NAMESPACE} ) endif () endif () |