add cmake -L option help string for ENABLE_CDF5
@@ -306,6 +306,12 @@ ENDIF()
# Option checks
################################
+set(ENABLE_CDF5 AUTO CACHE STRING "Enable CDF5 support")
+set_property(CACHE ENABLE_CDF5 PROPERTY STRINGS AUTO ON OFF)
+IF(NOT ENABLE_CDF5 STREQUAL "AUTO" AND NOT ENABLE_CDF5 STREQUAL "ON" AND NOT ENABLE_CDF5 STREQUAL "OFF")
+ MESSAGE(FATAL_ERROR "Invalid value (\"${ENABLE_CDF5}\") used in setting ENABLE_CDF5")
+ENDIF(NOT ENABLE_CDF5 STREQUAL "AUTO" AND NOT ENABLE_CDF5 STREQUAL "ON" AND NOT ENABLE_CDF5 STREQUAL "OFF")
+
# HDF5 cache variables.
SET(DEFAULT_CHUNK_SIZE 4194304 CACHE STRING "Default Chunk Cache Size.")
SET(DEFAULT_CHUNKS_IN_CACHE 10 CACHE STRING "Default number of chunks in cache.")
