瀏覽代碼

Merge topic 'doxygen_dot'

9cab8570 FindDoxygen: Fix setting of HAVE_DOT in non-backward-compat mode

Acked-by: Kitware Robot <[email protected]>
Merge-request: !1472
Brad King 8 年之前
父節點
當前提交
fd93616b74
共有 1 個文件被更改,包括 5 次插入1 次删除
  1. 5 1
      Modules/FindDoxygen.cmake

+ 5 - 1
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)