From 82e9ed2ccc50244723c213fa16093e25d46838e7 Mon Sep 17 00:00:00 2001 From: "David M. Rogers" Date: Fri, 7 Aug 2020 15:50:17 -0400 Subject: [PATCH] Update CMakeLists.txt Sphinx command should depend on Doxygen instead of DOXYGEN_INDEX_FILE directly. This prevents doxygen from running twice in parallel make. https://gist.github.com/socantre/7ee63133a0a3a08f3990 --- docs/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/CMakeLists.txt b/docs/CMakeLists.txt index a4f7629..7333cf3 100644 --- a/docs/CMakeLists.txt +++ b/docs/CMakeLists.txt @@ -47,7 +47,7 @@ add_custom_command(OUTPUT ${SPHINX_INDEX_FILE} DEPENDS # Other docs files you want to track should go here (or in some variable) ${CMAKE_CURRENT_SOURCE_DIR}/index.rst - ${DOXYGEN_INDEX_FILE} + Doxygen MAIN_DEPENDENCY ${SPHINX_SOURCE}/conf.py COMMENT "Generating documentation with Sphinx")