X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/35ec45b279eb57aaa44028ab6d19d747fe903071..a46684496af311b225fb7343a39b55fd9a56aa2d:/CMakeLists.txt?ds=sidebyside diff --git a/CMakeLists.txt b/CMakeLists.txt index bd14e3a64c..5abe010bf9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -150,8 +150,8 @@ endif(WIN32) if(enable_doc) include(${PROJECT_DIRECTORY}/buildtools/Cmake/GenerateDoc.cmake) - ADD_CUSTOM_TARGET(simgrid_documentation ALL - DEPENDS ${PROJECT_DIRECTORY}/doc/html/generated) + ADD_CUSTOM_TARGET(simgrid_documentation ALL) + add_dependencies(simgrid_documentation APPEND_DOC) endif(enable_doc) ### Make Simgrid.jar and Java examples