Forráskód Böngészése

COMP: Display a warning if doxygen is not found

A warning was already displayed when DOT wasn't found.
Jean-Christophe Fillion-Robin 14 éve
szülő
commit
f2d87ddfb0
1 módosított fájl, 3 hozzáadás és 3 törlés
  1. 3 3
      Documentation/CMakeLists.txt

+ 3 - 3
Documentation/CMakeLists.txt

@@ -59,8 +59,8 @@ IF( DOXYGEN_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 )
+ELSE( DOXYGEN_FOUND )
+  MESSAGE( WARNING "Warning: Doxygen not found - Documentation will not be created")
 ENDIF( DOXYGEN_FOUND )