diff options
author | Seth R Johnson <johnsonsr@ornl.gov> | 2020-08-08 14:50:19 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-08-10 15:53:58 (GMT) |
commit | e038107ee779dc2196b8cd9aaa9489cc2b25a2eb (patch) | |
tree | 7b3d807a30332511055d1485e406f98d2df23b42 /Modules/TestForAnsiForScope.cxx | |
parent | 63a65baf4c343c73b2142078ef0045d3711dea1d (diff) | |
download | CMake-e038107ee779dc2196b8cd9aaa9489cc2b25a2eb.zip CMake-e038107ee779dc2196b8cd9aaa9489cc2b25a2eb.tar.gz CMake-e038107ee779dc2196b8cd9aaa9489cc2b25a2eb.tar.bz2 |
FindHDF5: fix compiler detection when HL is disabled
A valid HDF5 installation with the "high level" extensions not
configured will *fail* to be correctly detected by CMake since
commit d9e39f3f89 (FindHDF5: check that compiler wrapper can
compile a minimal program, 2020-02-10, v3.18.0-rc1~744^2~1):
```
/.../hdf5/cmake_hdf5_test.c:2:10: fatal error: 'hdf5_hl.h' file not found
```
This does not stop the configuration but does prevent flags and
libraries from being recognized.
Diffstat (limited to 'Modules/TestForAnsiForScope.cxx')
0 files changed, 0 insertions, 0 deletions