summaryrefslogtreecommitdiffstats
path: root/CMakeFilters.cmake
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2014-06-04 21:22:31 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2014-06-04 21:22:31 (GMT)
commit80a2084bf7ae099310dd773aedfe54807becafdc (patch)
treed400f116cc1b096e4c04f99f70cb3979ee967b18 /CMakeFilters.cmake
parentcf71b7db57f7a457b2f6bef7431b254cd96d3748 (diff)
downloadhdf5-80a2084bf7ae099310dd773aedfe54807becafdc.zip
hdf5-80a2084bf7ae099310dd773aedfe54807becafdc.tar.gz
hdf5-80a2084bf7ae099310dd773aedfe54807becafdc.tar.bz2
[svn-r25239] Add set_property command for list option.
Minor doc edits
Diffstat (limited to 'CMakeFilters.cmake')
-rw-r--r--CMakeFilters.cmake4
1 files changed, 3 insertions, 1 deletions
diff --git a/CMakeFilters.cmake b/CMakeFilters.cmake
index 541c1d4..f52b99b 100644
--- a/CMakeFilters.cmake
+++ b/CMakeFilters.cmake
@@ -17,7 +17,9 @@ HDF5_SETUP_FILTERS (NBIT)
HDF5_SETUP_FILTERS (SCALEOFFSET)
include (ExternalProject)
-option (HDF5_ALLOW_EXTERNAL_SUPPORT "Allow External Library Building (NO SVN TGZ)" "NO")
+#option (HDF5_ALLOW_EXTERNAL_SUPPORT "Allow External Library Building (NO SVN TGZ)" "NO")
+set (HDF5_ALLOW_EXTERNAL_SUPPORT "NO" CACHE STRING "Allow External Library Building (NO SVN TGZ)")
+set_property (CACHE HDF5_ALLOW_EXTERNAL_SUPPORT PROPERTY STRINGS NO SVN TGZ)
if (HDF5_ALLOW_EXTERNAL_SUPPORT MATCHES "SVN" OR HDF5_ALLOW_EXTERNAL_SUPPORT MATCHES "TGZ")
option (ZLIB_USE_EXTERNAL "Use External Library Building for ZLIB" 1)
option (SZIP_USE_EXTERNAL "Use External Library Building for SZIP" 1)