CMake/Modules/FindDoxygen.cmake
Sebastien Barre 6037cc8b3b a) new version of tools like Doxygen and Graphviz now set install path info in win32 registery. use it.
b) remove DOT_PATH, it was polluting the cache (can be computed from DOT, update CMakeLists.txt accordingly if DOT_PATH is not defined)
2004-06-08 17:26:48 -04:00

20 lines
386 B
CMake

#
# this module looks for Doxygen and the path to Graphiz's dot
#
FIND_PROGRAM(DOXYGEN
doxygen
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\doxygen_is1;Inno Setup: App Path]/bin"
)
FIND_PROGRAM(DOT
dot
"C:/Program Files/ATT/Graphviz/bin"
[HKEY_LOCAL_MACHINE\\SOFTWARE\\ATT\\Graphviz;InstallPath]/bin
)
MARK_AS_ADVANCED(
DOT
DOXYGEN
)