CMake/Modules/FindDoxygen.cmake

24 lines
392 B
CMake
Raw Normal View History

#
2001-10-23 21:47:32 +00:00
# this module looks for Doxygen and the path to Graphiz's dot
#
FIND_PROGRAM(DOXYGEN
doxygen
)
2001-10-23 21:47:32 +00:00
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
2001-10-23 21:47:32 +00:00
GET_FILENAME_COMPONENT(DOT_PATH ${DOT} PATH CACHE)
MARK_AS_ADVANCED(
DOT
DOT_PATH
DOXYGEN
)