summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2011-06-29 18:35:29 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2011-06-29 18:35:29 (GMT)
commitce70d7a018c539f807d46d4d574aca26257d7cc1 (patch)
tree531eb2fe8d41ce84681d244ee15419f5f8f7bbbc /config
parentd93ae2622696b383189113d5a1a138f8b0fa8380 (diff)
downloadhdf5-ce70d7a018c539f807d46d4d574aca26257d7cc1.zip
hdf5-ce70d7a018c539f807d46d4d574aca26257d7cc1.tar.gz
hdf5-ce70d7a018c539f807d46d4d574aca26257d7cc1.tar.bz2
[svn-r21046] Correct *-config.cmake files to set {pkg}_LIBRARIES variable.
Tested: windows
Diffstat (limited to 'config')
-rw-r--r--config/cmake/hdf5-config.cmake.build.in1
-rw-r--r--config/cmake/hdf5-config.cmake.install.in1
2 files changed, 2 insertions, 0 deletions
diff --git a/config/cmake/hdf5-config.cmake.build.in b/config/cmake/hdf5-config.cmake.build.in
index 47a119a..f51ef2e 100644
--- a/config/cmake/hdf5-config.cmake.build.in
+++ b/config/cmake/hdf5-config.cmake.build.in
@@ -54,4 +54,5 @@ SET (HDF5_VERSION_MINOR @HDF5_VERSION_MINOR@)
#-----------------------------------------------------------------------------
IF (NOT TARGET "hdf5")
INCLUDE (${SELF_DIR}/hdf5-targets.cmake)
+ SET (HDF5_LIBRARIES "@HDF5_LIBRARIES_TO_EXPORT@")
ENDIF (NOT TARGET "hdf5")
diff --git a/config/cmake/hdf5-config.cmake.install.in b/config/cmake/hdf5-config.cmake.install.in
index 0e653ea..d079950 100644
--- a/config/cmake/hdf5-config.cmake.install.in
+++ b/config/cmake/hdf5-config.cmake.install.in
@@ -65,6 +65,7 @@ IF (NOT TARGET "hdf5")
INCLUDE (${SELF_DIR}/../SZIP/SZIP-targets.cmake)
ENDIF (HDF5_ENABLE_SZIP_SUPPORT AND HDF5_PACKAGE_EXTLIBS)
INCLUDE (${SELF_DIR}/hdf5-targets.cmake)
+ SET (HDF5_LIBRARIES "@HDF5_LIBRARIES_TO_EXPORT@")
ENDIF (NOT TARGET "hdf5")
#-----------------------------------------------------------------------------