FIND_PACKAGE(Doxygen 1.9.0): found unsuitale version error

Dear all,

I use cmake 3.23.1.
My top-level CmakeLists.txt contains the command
FIND_PACKAGE(Doxygen 1.9.0)

which triggers the following error message

Obviously, cmake finds the installed version 1.9.0 of Doxygen on my system;
The error happens in one of the shipped .cmake files.

My CmakeLists.txt runs through without any errors if I comment FIND_PACKAGE(Doxygen 1.9.0) out.

What can I do as a workaround?

Thank you!

Your doxygen does not seem to report a valid version string.
If you call it, is should usually look like this (line starting with major.minor.patch:

/usr/bin/doxygen --version
1.9.4

If I execute
/usr/bin/doxygen --version
in a shell, I get
1.9.4
as output.

So that should be fine.