mirror of
https://github.com/Kitware/CMake.git
synced 2025-12-31 19:00:54 -06:00
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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user