[svn-r21047] Correct *-config.cmake files to set {pkg}_LIBRARIES variable.

Tested: windows
This commit is contained in:
Allen Byrne 2011-06-29 13:41:46 -05:00
parent fe9ba82949
commit c970133c1b
2 changed files with 2 additions and 0 deletions

View File

@ -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")

View File

@ -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")
#-----------------------------------------------------------------------------