summaryrefslogtreecommitdiff
path: root/Modules/FindHDF5.cmake
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2021-11-03 11:27:53 -0400
committerBen Boeckel <ben.boeckel@kitware.com>2021-11-03 11:29:20 -0400
commit6f830c5c38abf0deed2ffb7e5d4407faa5656503 (patch)
tree974fe7f359f1bf66126aee28ba76f7786507bd8b /Modules/FindHDF5.cmake
parentf06f74ede7a8dc5321079b2a960479a756629727 (diff)
downloadcmake-6f830c5c38abf0deed2ffb7e5d4407faa5656503.tar.gz
FindHDF5: fix variable name when querying `hdf5_hl`'s implib
Introduced in 4150048a3b (FindHDF5: unset some variables, 2017-07-24).
Diffstat (limited to 'Modules/FindHDF5.cmake')
-rw-r--r--Modules/FindHDF5.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindHDF5.cmake b/Modules/FindHDF5.cmake
index e33535513a..caaf7b70f0 100644
--- a/Modules/FindHDF5.cmake
+++ b/Modules/FindHDF5.cmake
@@ -560,7 +560,7 @@ if(NOT HDF5_FOUND AND NOT HDF5_NO_FIND_PACKAGE_CONFIG_FILE)
set(HDF5_${_lang}_FOUND TRUE)
endif()
if(HDF5_FIND_HL)
- get_target_property(_lang_hl_location ${HDF5_${_lang}_HL_TARGET}${_suffix} IMPORTED_IMPLIB_${_hdf5_imported_conf} )
+ get_target_property(_hdf5_lang_hl_location ${HDF5_${_lang}_HL_TARGET}${_suffix} IMPORTED_IMPLIB_${_hdf5_imported_conf} )
if (NOT _hdf5_lang_hl_location)
get_target_property(_hdf5_lang_hl_location ${HDF5_${_lang}_HL_TARGET}${_suffix} LOCATION_${_hdf5_imported_conf})
if (NOT _hdf5_hl_lang_location)