From 8265bf31c9a584e4c1c9255bf57d7a875d8829bd Mon Sep 17 00:00:00 2001 From: Allen Byrne <50328838+byrnHDF@users.noreply.github.com> Date: Mon, 12 Jun 2023 22:01:34 -0500 Subject: Fix the default for API_VERSION to only allow one default (#3107) --- CMakeLists.txt | 6 ------ 1 file changed, 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0801e0f..29ac320 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -794,9 +794,6 @@ endif () #----------------------------------------------------------------------------- # Option to use 1.12.x API #----------------------------------------------------------------------------- -if (NOT DEFAULT_API_VERSION) - set (DEFAULT_API_VERSION "v112") -endif () set (H5_USE_112_API_DEFAULT 0) if (DEFAULT_API_VERSION MATCHES "v112") set (H5_USE_112_API_DEFAULT 1) @@ -805,9 +802,6 @@ 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) -- cgit v0.12