瀏覽代碼

FindDoxygen: Fix typo in docs

The example for using custom configuration file used
`doxygen_add_doxs()` instead of `doxygen_add_docs()`.
Austin Schuberth 4 月之前
父節點
當前提交
8695591d50
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      Modules/FindDoxygen.cmake

+ 2 - 2
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