Add additional search paths for doxygen on Windows

`find_program(DOXYGEN doxygen)` didn't find the executable automatically even if I installed Doxygen on Windows. Therefore, I added some additional search paths.
This commit is contained in:
Haowei Hsu 2022-07-19 18:38:26 +08:00 committed by Victor Zverovich
parent 371f9c71ca
commit c48be439f1

View File

@ -1,4 +1,6 @@
find_program(DOXYGEN doxygen)
find_program(DOXYGEN doxygen
PATHS "$ENV{ProgramFiles}/doxygen/bin"
"$ENV{ProgramFiles\(x86\)}/doxygen/bin")
if (NOT DOXYGEN)
message(STATUS "Target 'doc' disabled (requires doxygen)")
return ()