Commit 9840e3ca authored by David C. Lonie's avatar David C. Lonie

Ensure that stdc headers are included in HDF5 builds.

Without this, static MSVC builds don't compile ('FILE' isn't defined).
parent 33c3b20b
Pipeline #11348 passed with stage
......@@ -62,6 +62,10 @@ if(HDF5_ENABLE_Z_LIB_SUPPORT)
set(H5_ZLIB_HEADER "vtk_zlib.h")
endif()
# Ensure that the proper headers are included. Without this, static MSVC builds
# do not compile.
set(H5_STDC_HEADERS "On")
add_subdirectory(vtkhdf5)
foreach(lib
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment