summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-02-17 14:07:18 (GMT)
committerBrad King <brad.king@kitware.com>2017-02-17 14:10:03 (GMT)
commit28bb68e3472a9f8c6d8eec894e85de74b976ff02 (patch)
treed4f2b74ea36de6b798a16d5bd1bc273476396fd0 /Modules
parent6cbad490c2fdbd9bdc67b406b9f2dcdc21e08ddb (diff)
downloadCMake-28bb68e3472a9f8c6d8eec894e85de74b976ff02.zip
CMake-28bb68e3472a9f8c6d8eec894e85de74b976ff02.tar.gz
CMake-28bb68e3472a9f8c6d8eec894e85de74b976ff02.tar.bz2
FindHDF5: Restore HDF5_<LANG>_INCLUDE_DIR advanced cache entry mark
Refactoring in commit v3.6.0-rc1~72^2 (HDF5: Rework component searching to correctly find HL for all bindings, 2016-05-12) renamed the language loop variable used to construct the name of `HDF5_<LANG>_INCLUDE_DIR` but forgot to update it in the `mark_as_advanced` call. Fix it now. Issue: #16651
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 e1199a7..fb97d68 100644
--- a/Modules/FindHDF5.cmake
+++ b/Modules/FindHDF5.cmake
@@ -680,7 +680,7 @@ if( NOT HDF5_FOUND )
PATH_SUFFIXES include Include
${_HDF5_SEARCH_OPTS}
)
- mark_as_advanced(HDF5_${LANGUAGE}_INCLUDE_DIR)
+ mark_as_advanced(HDF5_${__lang}_INCLUDE_DIR)
list(APPEND HDF5_INCLUDE_DIRS ${HDF5_${__lang}_INCLUDE_DIR})
# find the HDF5 libraries