diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2011-06-29 18:41:46 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2011-06-29 18:41:46 (GMT) |
commit | c970133c1b5f413e52df0da3cc9d624cc7d602e2 (patch) | |
tree | 7ec5970f92a971deaaaea727bea67c143f0e2968 | |
parent | fe9ba82949788688e9cd743d1fbe54199bd26cba (diff) | |
download | hdf5-c970133c1b5f413e52df0da3cc9d624cc7d602e2.zip hdf5-c970133c1b5f413e52df0da3cc9d624cc7d602e2.tar.gz hdf5-c970133c1b5f413e52df0da3cc9d624cc7d602e2.tar.bz2 |
[svn-r21047] Correct *-config.cmake files to set {pkg}_LIBRARIES variable.
Tested: windows
-rw-r--r-- | config/cmake/hdf5-config.cmake.build.in | 1 | ||||
-rw-r--r-- | config/cmake/hdf5-config.cmake.install.in | 1 |
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")
#-----------------------------------------------------------------------------
|