diff options
author | Brad King <brad.king@kitware.com> | 2020-08-11 12:54:32 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2020-08-11 12:55:46 (GMT) |
commit | b995e2db388d20ddfbde83ebdd9f80daaa6b97be (patch) | |
tree | e481d1414b22030c668c3e18b3b4d93d2f772b9d /Modules/FindHDF5.cmake | |
parent | b954de008f122735c50d770d4501a805b320683c (diff) | |
parent | e038107ee779dc2196b8cd9aaa9489cc2b25a2eb (diff) | |
download | CMake-b995e2db388d20ddfbde83ebdd9f80daaa6b97be.zip CMake-b995e2db388d20ddfbde83ebdd9f80daaa6b97be.tar.gz CMake-b995e2db388d20ddfbde83ebdd9f80daaa6b97be.tar.bz2 |
Merge topic 'findhdf5-fix-nohl'
e038107ee7 FindHDF5: fix compiler detection when HL is disabled
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5112
Diffstat (limited to 'Modules/FindHDF5.cmake')
-rw-r--r-- | Modules/FindHDF5.cmake | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Modules/FindHDF5.cmake b/Modules/FindHDF5.cmake index 7a1c252..7c9664d 100644 --- a/Modules/FindHDF5.cmake +++ b/Modules/FindHDF5.cmake @@ -206,7 +206,6 @@ function(_HDF5_test_regular_compiler_C success version is_parallel) set(test_file ${scratch_directory}/cmake_hdf5_test.c) file(WRITE ${test_file} "#include <hdf5.h>\n" - "#include <hdf5_hl.h>\n" "const char* info_ver = \"INFO\" \":\" H5_VERSION;\n" "#ifdef H5_HAVE_PARALLEL\n" "const char* info_parallel = \"INFO\" \":\" \"PARALLEL\";\n" |