diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2011-01-25 21:17:54 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2011-01-25 21:17:54 (GMT) |
commit | c5dd29c7b86cfb6643e813b8940032a370ab2848 (patch) | |
tree | e5b3b57117c2c8ffc1d24f7e5581cc27aee763ef /CMakeLists.txt | |
parent | e2ff4638f5c26d4368fcb02da91974de4c3f0f82 (diff) | |
download | hdf5-c5dd29c7b86cfb6643e813b8940032a370ab2848.zip hdf5-c5dd29c7b86cfb6643e813b8940032a370ab2848.tar.gz hdf5-c5dd29c7b86cfb6643e813b8940032a370ab2848.tar.bz2 |
[svn-r19993] Added ability to use compressed file for external libraries corrected.
Tested: local linux
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 3b0b696..f6fb8fb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -441,6 +441,13 @@ OPTION (SZIP_USE_EXTERNAL "Use External Library Building for SZIP" 0) IF (HDF5_ALLOW_EXTERNAL_SUPPORT MATCHES "SVN" OR HDF5_ALLOW_EXTERNAL_SUPPORT MATCHES "TGZ") SET (ZLIB_USE_EXTERNAL 1) SET (SZIP_USE_EXTERNAL 1) + IF (HDF5_ALLOW_EXTERNAL_SUPPORT MATCHES "TGZ") + IF (NOT TGZ_PATH}) + SET (TGZ_PATH ${HDF5_SOURCE_DIR}) + ENDIF (NOT TGZ_PATH}) + SET (ZLIB_TGZ_URL ${TGZ_PATH}/${ZLIB_TGZ_NAME}) + SET (SZIP_TGZ_URL ${TGZ_PATH}/${SZIP_TGZ_NAME}) + ENDIF (HDF5_ALLOW_EXTERNAL_SUPPORT MATCHES "TGZ") ENDIF (HDF5_ALLOW_EXTERNAL_SUPPORT MATCHES "SVN" OR HDF5_ALLOW_EXTERNAL_SUPPORT MATCHES "TGZ") #----------------------------------------------------------------------------- |