소스 검색

COMP: Display a warning if doxygen is not found

A warning was already displayed when DOT wasn't found.
Jean-Christophe Fillion-Robin 15 년 전
부모
커밋
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 )
-    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 )