From b5e33631d62c4afdbc2707a39ee025f50996ae5f Mon Sep 17 00:00:00 2001 From: John Ralls Date: Sun, 25 Sep 2022 11:33:10 -0700 Subject: [PATCH] Bug 798620 - Unable to build docs on Mageia Cauldron Ensure that the build-product directory is ready in highly parallel builds. --- cmake/AddXdgHelpTarget.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/AddXdgHelpTarget.cmake b/cmake/AddXdgHelpTarget.cmake index b9bb53afa..5adb972fd 100644 --- a/cmake/AddXdgHelpTarget.cmake +++ b/cmake/AddXdgHelpTarget.cmake @@ -39,7 +39,7 @@ function (add_xdghelp_target docname lang entities figures) add_custom_command( OUTPUT ${dest_files} COMMAND ${CMAKE_COMMAND} -E copy ${source_files} "${BUILD_DIR}" - DEPENDS ${entities} "index.docbook" ${dtd_files} + DEPENDS ${entities} "index.docbook" ${dtd_files} "${CMAKE_CURRENT_BINARY_DIR}/xdghelptrigger") WORKING_DIRECTORY "${BUILD_DIR}") # Copy figures for this document