From c970133c1b5f413e52df0da3cc9d624cc7d602e2 Mon Sep 17 00:00:00 2001 From: Allen Byrne Date: Wed, 29 Jun 2011 13:41:46 -0500 Subject: [PATCH] [svn-r21047] Correct *-config.cmake files to set {pkg}_LIBRARIES variable. Tested: windows --- config/cmake/hdf5-config.cmake.build.in | 1 + config/cmake/hdf5-config.cmake.install.in | 1 + 2 files changed, 2 insertions(+) diff --git a/config/cmake/hdf5-config.cmake.build.in b/config/cmake/hdf5-config.cmake.build.in index 47a119afbb..f51ef2ea6d 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 0e653eae74..d079950de9 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") #-----------------------------------------------------------------------------