Skip to content

Commit

Permalink
Fix compile with newer binary and old API
Browse files Browse the repository at this point in the history
  • Loading branch information
byrnHDF committed Sep 19, 2023
1 parent 4692012 commit 0cfc3ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion JAVA/H5G/Java_sourcefiles.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ set (HDF_JAVA_EXAMPLES
H5Ex_G_Phase.java
)
if (${H5_LIBVER_DIR} GREATER 18)
if (${H5_LIBVER_DIR} EQUAL 110)
if ((${H5_LIBVER_DIR} EQUAL 110) AND NOT (${${EXAMPLE_VARNAME}_USE_16_API} OR ${${EXAMPLE_VARNAME}_USE_18_API} OR ${${EXAMPLE_VARNAME}_USE_110_API}))
set (HDF_JAVA_EXAMPLES ${HDF_JAVA_EXAMPLES}
110/H5Ex_G_Iterate.java
110/H5Ex_G_Intermediate.java
Expand Down

0 comments on commit 0cfc3ab

Please sign in to comment.