diff options
author | Sebastien Barre <sebastien.barre@kitware.com> | 2001-10-23 21:47:32 (GMT) |
---|---|---|
committer | Sebastien Barre <sebastien.barre@kitware.com> | 2001-10-23 21:47:32 (GMT) |
commit | 10c54eb2a509e7d8e634c6c38b67f725093413cd (patch) | |
tree | 9a5588cad1ac8085bd520ad84ca4173b3c0ed12b /Modules | |
parent | a9e376de1d035e506684237edfea75fa2244f825 (diff) | |
download | CMake-10c54eb2a509e7d8e634c6c38b67f725093413cd.zip CMake-10c54eb2a509e7d8e634c6c38b67f725093413cd.tar.gz CMake-10c54eb2a509e7d8e634c6c38b67f725093413cd.tar.bz2 |
Find Graphivz's dot too
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/FindDoxygen.cmake | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/Modules/FindDoxygen.cmake b/Modules/FindDoxygen.cmake index 506255a..586a934 100644 --- a/Modules/FindDoxygen.cmake +++ b/Modules/FindDoxygen.cmake @@ -1,7 +1,18 @@ # -# this module looks for Doxygen +# this module looks for Doxygen and the path to Graphiz's dot # FIND_PROGRAM(DOXYGEN doxygen ) + +FIND_PROGRAM(DOT + dot + "C:/Program Files/ATT/Graphviz/bin" +) +# HKEY_CURRENT_USER\Software\AT&T\Graphviz + +# Since most of the time dot is called by Doxygen, the path to dot is useful too +GET_FILENAME_COMPONENT(DOT_PATH ${DOT} PATH CACHE) + + |