浏览代码

COMP: Display a warning if doxygen is not found

A warning was already displayed when DOT wasn't found.
Jean-Christophe Fillion-Robin 14 年之前
父节点
当前提交
f2d87ddfb0
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      Documentation/CMakeLists.txt

+ 3 - 3
Documentation/CMakeLists.txt

@@ -59,8 +59,8 @@ IF( DOXYGEN_FOUND )
       )
       )
     
     
   ELSE( DOXYGEN_DOT_FOUND )
   ELSE( DOXYGEN_DOT_FOUND )
-    MESSAGE( WARNING
-      "Warning: Dot not found - Documentation will not be created"
-      )
+    MESSAGE( WARNING "Warning: Dot not found - Documentation will not be created")
   ENDIF( DOXYGEN_DOT_FOUND )
   ENDIF( DOXYGEN_DOT_FOUND )
+ELSE( DOXYGEN_FOUND )
+  MESSAGE( WARNING "Warning: Doxygen not found - Documentation will not be created")
 ENDIF( DOXYGEN_FOUND )
 ENDIF( DOXYGEN_FOUND )