From 2af7ea3c22a07cfe617de6c43576a0ff4278f5eb Mon Sep 17 00:00:00 2001 From: Allen Byrne <50328838+byrnHDF@users.noreply.github.com> Date: Mon, 12 Jun 2023 22:01:49 -0500 Subject: Fix the default for API_VERSION to only allow one default (#3108) --- CMakeLists.txt | 3 --- 1 file changed, 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8c6dbb6..c378a82 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) -- cgit v0.12