Page tree

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


  1. Edit the root UserMacros.cmake file in the HDF5 source code:.

    Go to this directory in the CMake source code: CMake-hdf5-N.N.N/hdf5-N.N.N/config/cmake/UserMacros/
    You will find the file Windows_MT.cmake, which contains information on what needs to be done.
    In general, you will need to either replace or edit the hdf5-N.N.N/UserMacros.cmake file so that the Windows_MT.cmake file can be found.
    (On Windows, copy the entire file to UserMacros.cmake.)

  2. Edit HDF5Options.cmake in the CMake-hdf5-N.N.N directory and add the BUILD_STATIC_CRT_LIBS option:.