Original author: edoardo
When building the doc project from a folder containing spaces it doesn´t work because doxygen does not understand folders with spaces out of the box.
Its necessary to modify the file HTML.cfg.in and add quotation marks to the output file settings.
I attach a file that solve the problem (by adding quotation marks).
This is very similar to bug # 313, but it involves OUTPUT_DIRECTORY and WARN_LOGFILE too.
Original Mantis Ticket: http://www.ogre3d.org/mantis/view.php?id=582