diff --git a/Documentation/Cookbook/CMakeLists.txt b/Documentation/Cookbook/CMakeLists.txt index c208864ee2d67d3f11c609fda0a74e207378aa00..157eb54fea2067b3d81abcf119f997d064f07fb7 100644 --- a/Documentation/Cookbook/CMakeLists.txt +++ b/Documentation/Cookbook/CMakeLists.txt @@ -139,5 +139,6 @@ if(PDFLATEX_COMMAND) ALL COMMAND ${CMAKE_MAKE_PROGRAM} latexpdf WORKING_DIRECTORY ${RST_GENERATED_SOURCE_DIR} + DEPENDS generate_otbapps_rst COMMENT "Building RST documentation in pdf") endif()