summaryrefslogtreecommitdiffstats
path: root/CMakeFilters.cmake
diff options
context:
space:
mode:
authorVailin Choi <vchoi@hdfgroup.org>2014-06-23 20:24:08 (GMT)
committerVailin Choi <vchoi@hdfgroup.org>2014-06-23 20:24:08 (GMT)
commit9158e8aa03227a294739aed5549ab14c1d04fb5c (patch)
treeb201f1d5616b04576de70d5043d196fbe199b06d /CMakeFilters.cmake
parent67ba5eb6e8a71a110d47fd3079edcc1fe09fb95f (diff)
downloadhdf5-9158e8aa03227a294739aed5549ab14c1d04fb5c.zip
hdf5-9158e8aa03227a294739aed5549ab14c1d04fb5c.tar.gz
hdf5-9158e8aa03227a294739aed5549ab14c1d04fb5c.tar.bz2
[svn-r25342] Bring revisions #25120 - #25266 from trunk to revise_chunks.
Tested on jam, koala, ostrich, platypus.
Diffstat (limited to 'CMakeFilters.cmake')
-rw-r--r--CMakeFilters.cmake6
1 files changed, 4 insertions, 2 deletions
diff --git a/CMakeFilters.cmake b/CMakeFilters.cmake
index 1a74460..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)
@@ -110,7 +112,7 @@ if (HDF5_ENABLE_SZIP_SUPPORT)
endif (HDF5_ALLOW_EXTERNAL_SUPPORT MATCHES "SVN" OR HDF5_ALLOW_EXTERNAL_SUPPORT MATCHES "TGZ")
endif (SZIP_FOUND)
set (LINK_LIBS ${LINK_LIBS} ${SZIP_LIBRARIES})
- INCLUDE_DIRECTORIES (${SZIP_INCLUDE_DIR})
+ INCLUDE_DIRECTORIES (${SZIP_INCLUDE_DIRS})
message (STATUS "Filter SZIP is ON")
if (H5_HAVE_FILTER_SZIP)
set (EXTERNAL_FILTERS "${EXTERNAL_FILTERS} DECODE")