summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2010-10-15 18:17:27 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2010-10-15 18:17:27 (GMT)
commitd6410ca19539496dcfd614b2c67b7ca6a61835aa (patch)
tree49d3f7cbeb713ba60d23037c951002ecca16596b
parentac4461a25e1dcba51fcb1450f6e28ee95eff1bbc (diff)
downloadhdf5-d6410ca19539496dcfd614b2c67b7ca6a61835aa.zip
hdf5-d6410ca19539496dcfd614b2c67b7ca6a61835aa.tar.gz
hdf5-d6410ca19539496dcfd614b2c67b7ca6a61835aa.tar.bz2
[svn-r19614] Add option command to set flags OFF for if not using ExternalProjects
-rw-r--r--CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e3a7cc9..5b05a77 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -447,6 +447,8 @@ HDF5_SETUP_FILTERS (SCALEOFFSET)
INCLUDE (ExternalProject)
OPTION (HDF5_ALLOW_EXTERNAL_SUPPORT "Allow External Library Building" "NO")
+OPTION (ZLIB_USE_EXTERNAL "Use External Library Building for ZLIB" 0)
+OPTION (SZIP_USE_EXTERNAL "Use External Library Building for SZIP" 0)
IF (HDF5_ALLOW_EXTERNAL_SUPPORT MATCHES "SVN")
SET (ZLIB_USE_EXTERNAL 1)
SET (SZIP_USE_EXTERNAL 1)