summaryrefslogtreecommitdiffstats
path: root/CMakeInstallation.cmake
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2019-03-28 21:41:30 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2019-03-28 21:41:30 (GMT)
commit8c34530608aa0b8afad6108d9ddb633850e0b351 (patch)
tree6f5f7f940cc73bdafc4d426e2700953814e3e6b1 /CMakeInstallation.cmake
parent228ec80c9c4f9941195d77b587fdde626910cfc6 (diff)
downloadhdf5-8c34530608aa0b8afad6108d9ddb633850e0b351.zip
hdf5-8c34530608aa0b8afad6108d9ddb633850e0b351.tar.gz
hdf5-8c34530608aa0b8afad6108d9ddb633850e0b351.tar.bz2
Allow option to select NAMESPACE
Diffstat (limited to 'CMakeInstallation.cmake')
-rw-r--r--CMakeInstallation.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeInstallation.cmake b/CMakeInstallation.cmake
index 7a0746a..874db37 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 ${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 ${PACKAGE_NAMESPACE}
)
endif ()
endif ()