[svn-r19613] Add option command to set flags OFF for if not using ExternalProjects

This commit is contained in:
Allen Byrne committed 2010-10-15 13:16:53 -05:00
1 parent 3e7926a35b
commit 9f6fb53aa6
1 file changed
+2
+2
View File
@@ -445,6 +445,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)