summaryrefslogtreecommitdiff
path: root/Modules/FindDoxygen.cmake
diff options
context:
space:
mode:
authorPhilip Lowman <philip@yhbt.com>2009-01-30 15:13:07 -0500
committerPhilip Lowman <philip@yhbt.com>2009-01-30 15:13:07 -0500
commit1569f5d0e46e7f763326b8e0e9f6529e3a0247d6 (patch)
treed833f17c2bf2357f21d87f86d6928457828950f6 /Modules/FindDoxygen.cmake
parent901b4b6c3f4e44ba9286236181da44b1e967e5e8 (diff)
downloadcmake-1569f5d0e46e7f763326b8e0e9f6529e3a0247d6.tar.gz
BUG: Fix other modules not respecting QUIET and REQUIRED
Diffstat (limited to 'Modules/FindDoxygen.cmake')
-rw-r--r--Modules/FindDoxygen.cmake6
1 files changed, 2 insertions, 4 deletions
diff --git a/Modules/FindDoxygen.cmake b/Modules/FindDoxygen.cmake
index fff7fcee13..2cbe7b4a42 100644
--- a/Modules/FindDoxygen.cmake
+++ b/Modules/FindDoxygen.cmake
@@ -64,7 +64,7 @@ FIND_PROGRAM(DOXYGEN_EXECUTABLE
)
include(FindPackageHandleStandardArgs)
-FIND_PACKAGE_HANDLE_STANDARD_ARGS(DOXYGEN DEFAULT_MSG DOXYGEN_EXECUTABLE)
+FIND_PACKAGE_HANDLE_STANDARD_ARGS(Doxygen DEFAULT_MSG DOXYGEN_EXECUTABLE)
#
# Find Dot...
@@ -85,10 +85,8 @@ IF(NOT DOXYGEN_SKIP_DOT)
DOC "Graphviz Dot tool for using Doxygen"
)
- include(FindPackageHandleStandardArgs)
- FIND_PACKAGE_HANDLE_STANDARD_ARGS(DOXYGEN_DOT DEFAULT_MSG DOXYGEN_DOT_EXECUTABLE)
-
if(DOXYGEN_DOT_EXECUTABLE)
+ set(DOXYGEN_DOT_FOUND TRUE)
# The Doxyfile wants the path to Dot, not the entire path and executable
get_filename_component(DOXYGEN_DOT_PATH "${DOXYGEN_DOT_EXECUTABLE}" PATH CACHE)
endif()