summaryrefslogtreecommitdiffstats
path: root/config/cmake
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2019-08-07 18:24:42 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2019-08-07 18:24:42 (GMT)
commit54fd0277a525e31ac931df110cdfc5086c36a93a (patch)
tree2bfbd48f07ae77219babf8f2437d869286e3e9ef /config/cmake
parent509eb3b292237448bdd1d4b2e2222c07a57f65e0 (diff)
downloadhdf5-54fd0277a525e31ac931df110cdfc5086c36a93a.zip
hdf5-54fd0277a525e31ac931df110cdfc5086c36a93a.tar.gz
hdf5-54fd0277a525e31ac931df110cdfc5086c36a93a.tar.bz2
Correct package name usage
Diffstat (limited to 'config/cmake')
-rw-r--r--config/cmake/hdf5-config.cmake.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/config/cmake/hdf5-config.cmake.in b/config/cmake/hdf5-config.cmake.in
index a9874c7..7af255c 100644
--- a/config/cmake/hdf5-config.cmake.in
+++ b/config/cmake/hdf5-config.cmake.in
@@ -86,9 +86,9 @@ endif ()
#-----------------------------------------------------------------------------
# Version Strings
#-----------------------------------------------------------------------------
-set (HDF5_VERSION_STRING @HDF5_VERSION_STRING@)
-set (HDF5_VERSION_MAJOR @HDF5_VERSION_MAJOR@)
-set (HDF5_VERSION_MINOR @HDF5_VERSION_MINOR@)
+set (${HDF5_PACKAGE_NAME}_VERSION_STRING @HDF5_VERSION_STRING@)
+set (${HDF5_PACKAGE_NAME}_VERSION_MAJOR @HDF5_VERSION_MAJOR@)
+set (${HDF5_PACKAGE_NAME}_VERSION_MINOR @HDF5_VERSION_MINOR@)
#-----------------------------------------------------------------------------
# Don't include targets if this file is being picked up by another