Skip to content

Commit bc32c4b

Browse files
committed
Remove now unneeded specific working directory for Javadoc invocation.
Javadoc tried to recursively traverse the directory and generate documentation for all found Java files additionally to the specified files. Build directory which is the default working directory shouldn't contain unexpected Java files.
1 parent 9768de9 commit bc32c4b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

example/java/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ add_custom_target(build_java
7575
add_custom_target(generate_javadoc
7676
COMMAND ${CMAKE_COMMAND} -E ${CMAKE_RM_COMMAND} "${JAVA_OUTPUT_DIRECTORY}/../docs"
7777
COMMAND ${Java_JAVADOC_EXECUTABLE} -encoding UTF-8 -charset UTF-8 -d "${JAVA_OUTPUT_DIRECTORY}/../docs" ${JAVA_SOURCE_FILES}
78-
WORKING_DIRECTORY ${TD_API_JAVA_PATH}
7978
COMMENT "Generating Javadoc documentation"
8079
DEPENDS td_generate_java_api
8180
)

0 commit comments

Comments
 (0)