diff options
author | Philip Lowman <philip@yhbt.com> | 2009-01-30 15:13:07 -0500 |
---|---|---|
committer | Philip Lowman <philip@yhbt.com> | 2009-01-30 15:13:07 -0500 |
commit | 1569f5d0e46e7f763326b8e0e9f6529e3a0247d6 (patch) | |
tree | d833f17c2bf2357f21d87f86d6928457828950f6 /Modules/FindDoxygen.cmake | |
parent | 901b4b6c3f4e44ba9286236181da44b1e967e5e8 (diff) | |
download | cmake-1569f5d0e46e7f763326b8e0e9f6529e3a0247d6.tar.gz |
BUG: Fix other modules not respecting QUIET and REQUIRED
Diffstat (limited to 'Modules/FindDoxygen.cmake')
-rw-r--r-- | Modules/FindDoxygen.cmake | 6 |
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() |