summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2016-10-14 16:22:22 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2016-10-14 16:22:22 (GMT)
commit3ee36553b9aedb4e4d9cb31339e9c8a9f5ef3a92 (patch)
tree6c5d469e39b2dc44ccf978431178fb5531e9760a /config
parent052ca6a74199005efe7f324f2a3ac508b18cdc27 (diff)
downloadhdf5-3ee36553b9aedb4e4d9cb31339e9c8a9f5ef3a92.zip
hdf5-3ee36553b9aedb4e4d9cb31339e9c8a9f5ef3a92.tar.gz
hdf5-3ee36553b9aedb4e4d9cb31339e9c8a9f5ef3a92.tar.bz2
Add support for namespace and add tools to binaries config
Diffstat (limited to 'config')
-rw-r--r--config/cmake/hdf5-config.cmake.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/cmake/hdf5-config.cmake.in b/config/cmake/hdf5-config.cmake.in
index 3f95d76..41fc726 100644
--- a/config/cmake/hdf5-config.cmake.in
+++ b/config/cmake/hdf5-config.cmake.in
@@ -157,12 +157,12 @@ foreach (libtype IN LISTS ${HDF5_PACKAGE_NAME}_LIB_TYPE)
else ()
set (${HDF5_PACKAGE_NAME}_${libtype}_${comp}_FOUND 1)
string(TOUPPER ${HDF5_PACKAGE_NAME}_${comp}_${libtype}_LIBRARY COMP_LIBRARY)
- set (${COMP_LIBRARY} ${${COMP_LIBRARY}} ${hdf5_comp2}-${libtype} ${hdf5_comp}-${libtype})
+ set (${COMP_LIBRARY} ${${COMP_LIBRARY}} @HDF5_PACKAGE@::${hdf5_comp2}-${libtype} @HDF5_PACKAGE@::${hdf5_comp}-${libtype})
endif ()
else ()
set (${HDF5_PACKAGE_NAME}_${libtype}_${comp}_FOUND 1)
string(TOUPPER ${HDF5_PACKAGE_NAME}_${comp}_${libtype}_LIBRARY COMP_LIBRARY)
- set (${COMP_LIBRARY} ${${COMP_LIBRARY}} ${hdf5_comp}-${libtype})
+ set (${COMP_LIBRARY} ${${COMP_LIBRARY}} @HDF5_PACKAGE@::${hdf5_comp}-${libtype})
endif ()
endif ()
endforeach ()