From 8695591d50cafbc2f7e5cf354f868b8b17e96dc3 Mon Sep 17 00:00:00 2001 From: Austin Schuberth Date: Sat, 19 Jul 2025 17:25:11 -0400 Subject: [PATCH] FindDoxygen: Fix typo in docs The example for using custom configuration file used `doxygen_add_doxs()` instead of `doxygen_add_docs()`. --- Modules/FindDoxygen.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Modules/FindDoxygen.cmake b/Modules/FindDoxygen.cmake index 2d430994e8..59ae19268b 100644 --- a/Modules/FindDoxygen.cmake +++ b/Modules/FindDoxygen.cmake @@ -653,7 +653,7 @@ Example: Custom Configuration File In the following example, a custom ``Doxyfile`` configuration file is created in the current binary directory (:variable:`CMAKE_CURRENT_BINARY_DIR`) prior -to calling the ``doxygen_add_doxs()``. This allows project-specific +to calling the ``doxygen_add_docs()``. This allows project-specific configuration tags to be customized as needed: .. code-block:: cmake @@ -664,7 +664,7 @@ configuration tags to be customized as needed: if(Doxygen_FOUND) configure_file(Doxyfile.in Doxyfile) - doxygen_add_doxs( + doxygen_add_docs( example_docs foo.c bar.c ALL