Skip to content

Commit dd52995

Browse files
matteodgcursoragent
andcommitted
build/doc: depend hdf5lib_doc on Java javadoc when Java is enabled
Ensure doc builds with HDF5_BUILD_JAVA and HDF5_BUILD_DOC also generate hdf5_java_doc before the Doxygen hdf5lib_doc stamp target. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 2a0e599 commit dd52995

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1491,6 +1491,10 @@ if (HDF5_BUILD_DOC AND DOXYGEN_FOUND)
14911491
)
14921492
add_dependencies (doxygen hdf5lib_doc)
14931493

1494+
if (HDF5_BUILD_JAVA AND TARGET hdf5_java_doc)
1495+
add_dependencies (hdf5lib_doc hdf5_java_doc)
1496+
endif ()
1497+
14941498
endif ()
14951499

14961500
# Always define the umbrella doxygen target so that scripts and IDEs can

0 commit comments

Comments
 (0)