Skip to content

Commit

Permalink
BUG: Fix invalid combination of library lower and upper bounds
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Jackson <mike.jackson@bluequartz.net>
  • Loading branch information
imikejackson committed Jul 20, 2023
1 parent 0fcab55 commit 49e1972
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Expand Up @@ -9,7 +9,7 @@ set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)

project(H5Support LANGUAGES C CXX VERSION 1.0.8)
project(H5Support LANGUAGES C CXX VERSION 1.0.12)

set_property(GLOBAL PROPERTY USE_FOLDERS ON)
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
Expand Down
10 changes: 5 additions & 5 deletions Source/H5Support/H5Utilities.h
Expand Up @@ -56,17 +56,17 @@

#if(H5_VERS_MINOR == 10)
#define HDF5_VERSION_LIB_LOWER_BOUNDS H5F_LIBVER_V110
#define HDF5_VERSION_LIB_UPPER_BOUNDS H5F_LIBVER_V110
#define HDF5_VERSION_LIB_UPPER_BOUNDS H5F_LIBVER_LATEST
#endif

#if(H5_VERS_MINOR == 12)
#define HDF5_VERSION_LIB_LOWER_BOUNDS H5F_LIBVER_V110
#define HDF5_VERSION_LIB_UPPER_BOUNDS H5F_LIBVER_V18
#define HDF5_VERSION_LIB_LOWER_BOUNDS H5F_LIBVER_V112
#define HDF5_VERSION_LIB_UPPER_BOUNDS H5F_LIBVER_LATEST
#endif

#if(H5_VERS_MINOR == 14)
#define HDF5_VERSION_LIB_LOWER_BOUNDS H5F_LIBVER_V110
#define HDF5_VERSION_LIB_UPPER_BOUNDS H5F_LIBVER_V110
#define HDF5_VERSION_LIB_LOWER_BOUNDS H5F_LIBVER_V114
#define HDF5_VERSION_LIB_UPPER_BOUNDS H5F_LIBVER_LATEST
#endif

#ifndef HDF5_VERSION_LIB_LOWER_BOUNDS
Expand Down

0 comments on commit 49e1972

Please sign in to comment.