summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2019-08-13 16:04:13 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2019-08-13 16:04:13 (GMT)
commit7b8ffecc20ad383627ea2dbfa86aaebdf5f5b76b (patch)
tree69dff308148fd9f98c1b256a5e0210f8901fe96f /CMakeLists.txt
parentac4f82fcd42758c9f3fa792b402600fe0d224c76 (diff)
downloadhdf5-7b8ffecc20ad383627ea2dbfa86aaebdf5f5b76b.zip
hdf5-7b8ffecc20ad383627ea2dbfa86aaebdf5f5b76b.tar.gz
hdf5-7b8ffecc20ad383627ea2dbfa86aaebdf5f5b76b.tar.bz2
HDFFV-10879 set default API version
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 2 insertions, 1 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