CMake includes a FindDoxygen module that provides a convenience function doxygen_add_docs(). Use it!
FindDoxygen
doxygen_add_docs()