diff options
author | Robert Dailey <rcdailey@gmail.com> | 2017-06-28 16:02:57 -0500 |
---|---|---|
committer | Robert Dailey <rcdailey@gmail.com> | 2017-06-29 13:39:26 -0500 |
commit | 97a9a35607e653ebd5184facc191125e03173ca4 (patch) | |
tree | 6469ac114643f25d3152657a4a48055bf54c5396 /CMakeLists.txt | |
parent | 594b0f80a8e943f9c2a0920b56f3c69b0553b92a (diff) | |
download | cmake-97a9a35607e653ebd5184facc191125e03173ca4.tar.gz |
FindDoxygen: Use a stable reference to the location of global resources
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}`
instead.
Reviewed-by: Craig Scott <craig.scott@crascit.com>
Fixes: #17022
Diffstat (limited to 'CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions