Fixing targets for subproject

You only add 'doxygen_install DEPENDS ${PROJECT_NAME}_doxygen_install' in the first project since it's under the 'in(NOT TARGET). The second snippet adds the dependency in all projects so that (doxygen_install: *__doxygen_install)