summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/plugins/doxygen/main.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/plugins/doxygen/main.lua b/xmake/plugins/doxygen/main.lua
index 478613948..9ebaac8f3 100644
--- a/xmake/plugins/doxygen/main.lua
+++ b/xmake/plugins/doxygen/main.lua
@@ -27,7 +27,7 @@ import("private.action.require.impl.packagenv")
import("private.action.require.impl.install_packages")
-- generate doxyfile
-function _generate_doxyfile()
+function _generate_doxyfile(doxygen)
-- generate the default doxyfile
local doxyfile = path.join(project.directory(), "doxyfile")
@@ -98,7 +98,7 @@ function main()
-- get doxyfile first
local doxyfile = "doxyfile"
if not os.isfile(doxyfile) then
- doxyfile = _generate_doxyfile()
+ doxyfile = _generate_doxyfile(doxygen)
end
assert(os.isfile(doxyfile), "%s not found!", doxyfile)