diff options
author | Sebastien Barre <sebastien.barre@kitware.com> | 2001-12-04 15:55:17 (GMT) |
---|---|---|
committer | Sebastien Barre <sebastien.barre@kitware.com> | 2001-12-04 15:55:17 (GMT) |
commit | cb4f04c94e5815393e9b1d765588c23656149b4e (patch) | |
tree | e1586635e8c85d0e88faf7b42451f9d8f2de40ca /Modules/FindDoxygen.cmake | |
parent | f68e64e2d8488a57740cc5b2fb0f914a769c4e8e (diff) | |
download | CMake-cb4f04c94e5815393e9b1d765588c23656149b4e.zip CMake-cb4f04c94e5815393e9b1d765588c23656149b4e.tar.gz CMake-cb4f04c94e5815393e9b1d765588c23656149b4e.tar.bz2 |
Remove unneeded test and code duplication. Add WIN32 test. Make all ADVANCED.
Diffstat (limited to 'Modules/FindDoxygen.cmake')
-rw-r--r-- | Modules/FindDoxygen.cmake | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/Modules/FindDoxygen.cmake b/Modules/FindDoxygen.cmake index 586a934..3b8fc9f 100644 --- a/Modules/FindDoxygen.cmake +++ b/Modules/FindDoxygen.cmake @@ -12,7 +12,12 @@ FIND_PROGRAM(DOT ) # HKEY_CURRENT_USER\Software\AT&T\Graphviz -# Since most of the time dot is called by Doxygen, the path to dot is useful too +# 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) - +MARK_AS_ADVANCED( + DOT + DOT_PATH + DOXYGEN +) |