From 9ded0f791c51cbf027f489c49e1195d6329c7c1d Mon Sep 17 00:00:00 2001 From: Radek Hubner Date: Wed, 6 Mar 2024 10:33:17 -0800 Subject: [PATCH] Fix regression for Javadoc jar build (#12404) Summary: https://github.com/facebook/rocksdb/issues/12371 Introduced regression not defining dependency between `create_javadoc` and `rocksdb_javadocs_jar` build targets. Pull Request resolved: https://github.com/facebook/rocksdb/pull/12404 Reviewed By: pdillinger Differential Revision: D54516862 Pulled By: ajkr fbshipit-source-id: 785a99b2caf979395ae0de60e40e7d1b93059adb --- java/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/java/CMakeLists.txt b/java/CMakeLists.txt index 3c6ceb9687e..64e009b2a3f 100644 --- a/java/CMakeLists.txt +++ b/java/CMakeLists.txt @@ -808,6 +808,7 @@ add_custom_target(rocksdb_javadocs_jar ALL COMMAND ${Java_JAR_EXECUTABLE} cvf ${CMAKE_CURRENT_BINARY_DIR}/${ROCKSDB_JAVADOC_JAR} -C ${CMAKE_CURRENT_BINARY_DIR}/javadoc/rocksdb . BYPRODUCTS ${CMAKE_CURRENT_BINARY_DIR}/${ROCKSDB_JAVADOC_JAR} WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} + DEPENDS rocksdb_javadoc ) # Sources Jar