From e03eb002cf5762a9d00898394fb4a7220244ce36 Mon Sep 17 00:00:00 2001 From: Nils Wentzell Date: Thu, 25 Apr 2019 13:53:33 -0400 Subject: [PATCH] [cmake] docs_sphinx target should depend on generated module due to autodoc usage, Fix #2 --- doc/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index 3b0d75e5..ed7d1c4b 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -13,7 +13,7 @@ add_custom_command(OUTPUT ${sphinx_top} DEPENDS ${sources} add_custom_target(docs_sphinx ALL DEPENDS ${sphinx_top} ${CMAKE_CURRENT_BINARY_DIR}) # Application must be compiled first -add_dependencies(docs_sphinx app4triqs_c) +add_dependencies(docs_sphinx app4triqs_c toto_module) # ------------------------------------------------------------------------------------------------ # Copy the directory substructure and link all files with relevant extensions