summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-11-10 15:34:34 (GMT)
committerBrad King <brad.king@kitware.com>2017-11-10 15:34:34 (GMT)
commitfa5090b4418bc7ff0495cac02aac1a27e40163f7 (patch)
treed04d94f8712b80d0123e09bb0722030e79e684c3 /Modules
parent1f15324824dc90180bef1dfdb5fce6ff71c1b40c (diff)
parent9cab8570faaa62766e85d09dabd844725926a706 (diff)
downloadCMake-fa5090b4418bc7ff0495cac02aac1a27e40163f7.zip
CMake-fa5090b4418bc7ff0495cac02aac1a27e40163f7.tar.gz
CMake-fa5090b4418bc7ff0495cac02aac1a27e40163f7.tar.bz2
Merge branch 'doxygen_dot' into release-3.10
Merge-request: !1472
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindDoxygen.cmake6
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)