summaryrefslogtreecommitdiffstats
path: root/release_docs/INSTALL_CMake.txt
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2018-09-24 21:18:26 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2018-09-24 21:18:42 (GMT)
commited6cfe8ee6c09ac38cd6905a79cc9a5d36e779cd (patch)
treeb21e83b38bfe8b527e72e9959fd6623ddc6ea2d8 /release_docs/INSTALL_CMake.txt
parent2618dc314b9e4875e6ece7ee8696846ac2d02183 (diff)
downloadhdf5-ed6cfe8ee6c09ac38cd6905a79cc9a5d36e779cd.zip
hdf5-ed6cfe8ee6c09ac38cd6905a79cc9a5d36e779cd.tar.gz
hdf5-ed6cfe8ee6c09ac38cd6905a79cc9a5d36e779cd.tar.bz2
HDFFV-10531 document option for external libs
Diffstat (limited to 'release_docs/INSTALL_CMake.txt')
-rw-r--r--release_docs/INSTALL_CMake.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/release_docs/INSTALL_CMake.txt b/release_docs/INSTALL_CMake.txt
index 2aa1f17..7352dae 100644
--- a/release_docs/INSTALL_CMake.txt
+++ b/release_docs/INSTALL_CMake.txt
@@ -275,9 +275,14 @@ IV. Further considerations
packages there. Add the following CMake options:
-DZLIB_LIBRARY:FILEPATH=some_location/lib/zlib.lib
-DZLIB_INCLUDE_DIR:PATH=some_location/include
+ -DZLIB_USE_EXTERNAL:BOOL=OFF
-DSZIP_LIBRARY:FILEPATH=some_location/lib/szlib.lib
-DSZIP_INCLUDE_DIR:PATH=some_location/include
+ -DSZIP_USE_EXTERNAL:BOOL=OFF
where "some_location" is the full path to the extlibs folder.
+ Also the appropriate environment variable must be set;
+ set(ENV{ZLIB_ROOT} "some_location")
+ set(ENV{SZIP_ROOT} "some_location")
B. Use source packages from an GIT server by adding the following CMake
options: