Merge topic 'findhdf5-fix-nohl'

e038107ee7 FindHDF5: fix compiler detection when HL is disabled

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5112
This commit is contained in:
Brad King
2020-08-11 12:54:32 +00:00
committed by Kitware Robot

View File

@@ -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"