Skip to content

Commit ade2538

Browse files
committed
fix: fix doxygen installation path on windows
1 parent f1ac436 commit ade2538

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

dist/setup_cpp.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/setup_cpp.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/doxygen/doxygen.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import { notice } from "../utils/io/io"
99
import { setupGraphviz } from "../graphviz/graphviz"
1010
import { getVersion } from "../default_versions"
1111
import { existsSync } from "fs"
12+
import { join } from "path"
1213

1314
/** Get the platform data for cmake */
1415
// eslint-disable-next-line @typescript-eslint/no-unused-vars
@@ -80,7 +81,7 @@ async function activateWinDoxygen() {
8081
"C:/Program Files/doxygen/bin",
8182
"C:/Program Files (x86)/doxygen",
8283
]) {
83-
if (existsSync(binDir)) {
84+
if (existsSync(join(binDir, "doxygen.exe"))) {
8485
// eslint-disable-next-line no-await-in-loop
8586
await addPath(binDir)
8687
return binDir

0 commit comments

Comments
 (0)