diff options
author | Robert Maynard <robert.maynard@kitware.com> | 2016-06-24 19:26:22 (GMT) |
---|---|---|
committer | Robert Maynard <robert.maynard@kitware.com> | 2016-06-24 19:26:22 (GMT) |
commit | 963b576fd2605f25ced8790fc17f5baa6ecee761 (patch) | |
tree | 2457338de096125d20ed460cbbc37552c6f179d9 /Modules | |
parent | 9f2728cef3763dff93a43b933a10f32eb73f7c6b (diff) | |
download | CMake-963b576fd2605f25ced8790fc17f5baa6ecee761.zip CMake-963b576fd2605f25ced8790fc17f5baa6ecee761.tar.gz CMake-963b576fd2605f25ced8790fc17f5baa6ecee761.tar.bz2 |
FindHDF5: cache the correct path to the high level libraries
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/FindHDF5.cmake | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/FindHDF5.cmake b/Modules/FindHDF5.cmake index 7c1581d..ce3b6d0 100644 --- a/Modules/FindHDF5.cmake +++ b/Modules/FindHDF5.cmake @@ -384,10 +384,10 @@ if(NOT HDF5_FOUND AND NOT HDF5_ROOT) endif() if(FIND_HL) get_target_property(_lang_hl_location ${HDF5_${_lang}_HL_TARGET}${_suffix} LOCATION) - if( _lang_location ) - set(HDF5_${_lang}_HL_LIBRARY ${_lang_location} CACHE PATH + if( _lang_hl_location ) + set(HDF5_${_lang}_HL_LIBRARY ${_lang_hl_location} CACHE PATH "HDF5 ${_lang} HL library" ) - mark_as_advanced(HDF5_${_lang}_LIBRARY) + mark_as_advanced(HDF5_${_lang}_HL_LIBRARY) list(APPEND HDF5_HL_LIBRARIES ${HDF5_${_lang}_HL_LIBRARY}) endif() endif() |