3
0
mirror of https://github.com/triqs/dft_tools synced 2024-12-23 04:43:42 +01:00

[cmake] docs_sphinx target should depend on generated module due to autodoc usage, Fix #2

This commit is contained in:
Nils Wentzell 2019-04-25 13:53:33 -04:00
parent e329acfa06
commit e03eb002cf

View File

@ -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