diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2019-08-13 16:04:13 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2019-08-13 16:04:13 (GMT) |
commit | 7b8ffecc20ad383627ea2dbfa86aaebdf5f5b76b (patch) | |
tree | 69dff308148fd9f98c1b256a5e0210f8901fe96f | |
parent | ac4f82fcd42758c9f3fa792b402600fe0d224c76 (diff) | |
download | hdf5-7b8ffecc20ad383627ea2dbfa86aaebdf5f5b76b.zip hdf5-7b8ffecc20ad383627ea2dbfa86aaebdf5f5b76b.tar.gz hdf5-7b8ffecc20ad383627ea2dbfa86aaebdf5f5b76b.tar.bz2 |
HDFFV-10879 set default API version
-rw-r--r-- | CMakeLists.txt | 3 | ||||
-rw-r--r-- | config/cmake/cacheinit.cmake | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 374e15e..f5921f1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -642,7 +642,8 @@ if (H5_HAVE_PARALLEL) endif () endif () -#set (DEFAULT_API_VERSION "v112" CACHE STRING "Enable v1.12 API (v16, v18, v110, v112)" FORCE) +#option (DEFAULT_API_VERSION "Enable v1.12 API (v16, v18, v110, v112)" "v112") +set (DEFAULT_API_VERSION "v112" CACHE STRING "Enable v1.12 API (v16, v18, v110, v112)") set_property (CACHE DEFAULT_API_VERSION PROPERTY STRINGS v16 v18 v110 v112) #----------------------------------------------------------------------------- # Option to use 1.6.x API diff --git a/config/cmake/cacheinit.cmake b/config/cmake/cacheinit.cmake index 01c2221..5254115 100644 --- a/config/cmake/cacheinit.cmake +++ b/config/cmake/cacheinit.cmake @@ -35,8 +35,6 @@ set (MPIEXEC_MAX_NUMPROCS "4" CACHE STRING "Minimum number of processes for HDF set (HDF5_ENABLE_ALL_WARNINGS ON CACHE BOOL "Enable all warnings" FORCE) -set (DEFAULT_API_VERSION "v112" CACHE STRING "Enable v1.12 API (v16, v18, v110, v112)" FORCE) - set (HDF_TEST_EXPRESS "2" CACHE STRING "Control testing framework (0-3)" FORCE) set (HDF5_ALLOW_EXTERNAL_SUPPORT "NO" CACHE STRING "Allow External Library Building (NO GIT TGZ)" FORCE) |