mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-01-18 15:55:12 +08:00
add cmake -L option help string for ENABLE_CDF5
This commit is contained in:
parent
5d16b2ddcc
commit
02dca6a541
@ -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.")
|
||||
|
Loading…
Reference in New Issue
Block a user