diff --git a/docs/CMakeLists.txt b/docs/CMakeLists.txt index 629c1644..ffa7768e 100644 --- a/docs/CMakeLists.txt +++ b/docs/CMakeLists.txt @@ -50,7 +50,7 @@ else() COMMENT "Generating HTML documentation" VERBATIM) - add_custom_target(docs ALL DEPENDS "html/index.html") + add_custom_target(docs ALL SOURCES ${source_files} DEPENDS "html/index.html") set_target_properties(docs PROPERTIES FOLDER "GLFW3") if (GLFW_INSTALL)