diff options
author | David Young <dyoung@hdfgroup.org> | 2022-03-10 16:17:13 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2022-03-10 16:17:13 (GMT) |
commit | 069f75648a62af448df60626e1c797631ac220bd (patch) | |
tree | bb03c9fbd6f8f83dcf7338ee0afcb1ddb0136dfa /release_docs/USING_HDF5_CMake.txt | |
parent | e8bcb24e3fafc3dabc2a039c0e2be40b8e3bb1bb (diff) | |
parent | d5ddf61803f30e87bdfa629339fabf6fe1eb4a3c (diff) | |
download | hdf5-069f75648a62af448df60626e1c797631ac220bd.zip hdf5-069f75648a62af448df60626e1c797631ac220bd.tar.gz hdf5-069f75648a62af448df60626e1c797631ac220bd.tar.bz2 |
Merge remote-tracking branch 'thg/develop' into feature/h5detect
Diffstat (limited to 'release_docs/USING_HDF5_CMake.txt')
-rw-r--r-- | release_docs/USING_HDF5_CMake.txt | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/release_docs/USING_HDF5_CMake.txt b/release_docs/USING_HDF5_CMake.txt index 792c719..abe1906 100644 --- a/release_docs/USING_HDF5_CMake.txt +++ b/release_docs/USING_HDF5_CMake.txt @@ -29,27 +29,30 @@ Notes: This short instruction is written for users who want to quickly of using a ctest script for building and testing. See INSTALL_CMake.txt for more information. + 4. See https://cmake.org/cmake/help/latest/command/find_package.html + for more information on the CMake "Config Mode Search Procedure". ======================================================================== I. Preconditions ======================================================================== - 1. We suggest you obtain the latest CMake for windows from the Kitware + 1. We suggest you obtain the latest CMake for your platform from the Kitware web site. The HDF5 1.13.x product requires a minimum CMake version - of 3.12. + of 3.12. If you are using VS2019, the minimum version is 3.15. 2. You have installed the HDF5 library built with CMake, by executing the HDF Install Utility (the *.msi file in the binary package for - Windows). You can obtain pre-built binaries from The HDF Group's website at - www.hdfgroup.org. + Windows or the *.sh on Linux). You can obtain pre-built binaries + from The HDF Group's website at www.hdfgroup.org. - 3. Set the environment variable HDF5_DIR to the installed location of - the config files for HDF5. + 3. Set the HDF5_ROOT CMake variable, -DHDF5_ROOT=<install_path> + or environment variable, set(ENV{HDF5_ROOT} "<install_path>") + to the installed location of HDF5. On Windows: - HDF5_DIR=C:/Program Files/HDF_Group/HDF5/1.13.x/cmake + HDF5_ROOT=C:/Program Files/HDF_Group/HDF5/1.13.x/ On unix: - HDF5_DIR=<install root folder>/HDF_Group/HDF5/1.13.x/cmake + HDF5_ROOT=<install root folder>/HDF_Group/HDF5/1.13.x/ If you are using shared libraries, you may need to add to the path environment variable. Set the path environment variable to the |