summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2019-09-25 22:28:17 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2019-09-25 22:28:17 (GMT)
commitb2f52d0b07083fd3c5a84252bb7a982342a6b063 (patch)
treec816272af9fdf0eb4e77e5ab71534a3954dbe6df /CMakeLists.txt
parent46f81a33dd2d4d0273d896792850b19111b4e945 (diff)
downloadhdf5-b2f52d0b07083fd3c5a84252bb7a982342a6b063.zip
hdf5-b2f52d0b07083fd3c5a84252bb7a982342a6b063.tar.gz
hdf5-b2f52d0b07083fd3c5a84252bb7a982342a6b063.tar.bz2
Update versioning to next major version
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt17
1 files changed, 14 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 38ec775..7ae0833 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -646,9 +646,9 @@ if (H5_HAVE_PARALLEL)
endif ()
endif ()
-#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 (DEFAULT_API_VERSION "Enable v1.14 API (v16, v18, v110, v112, v114)" "v114")
+set (DEFAULT_API_VERSION "v114" CACHE STRING "Enable v1.14 API (v16, v18, v110, v112, v114)")
+set_property (CACHE DEFAULT_API_VERSION PROPERTY STRINGS v16 v18 v110 v112 v114)
#-----------------------------------------------------------------------------
# Option to use 1.6.x API
#-----------------------------------------------------------------------------
@@ -685,6 +685,17 @@ if (DEFAULT_API_VERSION MATCHES "v112")
endif ()
#-----------------------------------------------------------------------------
+# Option to use 1.14.x API
+#-----------------------------------------------------------------------------
+if (NOT DEFAULT_API_VERSION)
+ set (DEFAULT_API_VERSION "v114")
+endif ()
+set (H5_USE_114_API_DEFAULT 0)
+if (DEFAULT_API_VERSION MATCHES "v114")
+ set (H5_USE_114_API_DEFAULT 1)
+endif ()
+
+#-----------------------------------------------------------------------------
# Include user macros
#-----------------------------------------------------------------------------
include (UserMacros.cmake)