• Robert Dailey's avatar
    FindDoxygen: Use a stable reference to the location of global resources · 97a9a356
    Robert Dailey authored
    FindDoxygen generates some files based on the version of Doxygen whose
    content will not vary across a project and are therefore a global
    resource that can be shared by all calls to `find_package(Doxygen)` and
    to `doxygen_add_docs`.  We currently use `${PROJECT_BINARY_DIR}` to
    reference their location, but this is not stable because `project()`
    calls in a subdirectory can change it.  Use `${CMAKE_BINARY_DIR}`
    Reviewed-by: Craig Scott's avatarCraig Scott <craig.scott@crascit.com>
    Fixes: #17022
FindDoxygen.cmake 35.5 KB