diff options
author | Brad King <brad.king@kitware.com> | 2017-11-10 15:29:55 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2017-11-10 15:30:16 (GMT) |
commit | fd93616b745218edbeaa2077da3fb78842b34a7b (patch) | |
tree | 661adc596823f1bdf1f6e596a275215aad721012 /Modules | |
parent | 1a6ef0bdb27fcf07e54a6754235ece70e752aa5c (diff) | |
parent | 9cab8570faaa62766e85d09dabd844725926a706 (diff) | |
download | CMake-fd93616b745218edbeaa2077da3fb78842b34a7b.zip CMake-fd93616b745218edbeaa2077da3fb78842b34a7b.tar.gz CMake-fd93616b745218edbeaa2077da3fb78842b34a7b.tar.bz2 |
Merge topic 'doxygen_dot'
9cab8570 FindDoxygen: Fix setting of HAVE_DOT in non-backward-compat mode
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1472
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/FindDoxygen.cmake | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Modules/FindDoxygen.cmake b/Modules/FindDoxygen.cmake index 46bf340..d0dd0f1 100644 --- a/Modules/FindDoxygen.cmake +++ b/Modules/FindDoxygen.cmake @@ -832,7 +832,11 @@ doxygen_add_docs() for target ${targetName}") # and Lucent Bell Labs. The other options in this section have no # effect if this option is set to NO. # Doxygen's default value is: NO. - set(DOXYGEN_HAVE_DOT ${DOXYGEN_DOT_FOUND}) + if(Doxygen_dot_FOUND) + set(DOXYGEN_HAVE_DOT "YES") + else() + set(DOXYGEN_HAVE_DOT "NO") + endif() endif() if(NOT DEFINED DOXYGEN_DOT_MULTI_TARGETS) |