3
0
mirror of https://github.com/triqs/dft_tools synced 2024-06-25 22:52:20 +02: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