summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2021-11-03 15:27:53 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2021-11-03 15:29:20 (GMT)
commit6f830c5c38abf0deed2ffb7e5d4407faa5656503 (patch)
tree974fe7f359f1bf66126aee28ba76f7786507bd8b /Modules
parentf06f74ede7a8dc5321079b2a960479a756629727 (diff)
downloadCMake-6f830c5c38abf0deed2ffb7e5d4407faa5656503.zip
CMake-6f830c5c38abf0deed2ffb7e5d4407faa5656503.tar.gz
CMake-6f830c5c38abf0deed2ffb7e5d4407faa5656503.tar.bz2
FindHDF5: fix variable name when querying `hdf5_hl`'s implib
Introduced in 4150048a3b (FindHDF5: unset some variables, 2017-07-24).
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindHDF5.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindHDF5.cmake b/Modules/FindHDF5.cmake
index e335355..caaf7b7 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)