From 6037cc8b3b7c1dc241a5832b21b8bf029bcf7351 Mon Sep 17 00:00:00 2001 From: Sebastien Barre Date: Tue, 8 Jun 2004 17:26:48 -0400 Subject: 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) --- Utilities/Doxygen/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Utilities/Doxygen') diff --git a/Utilities/Doxygen/CMakeLists.txt b/Utilities/Doxygen/CMakeLists.txt index a185c2a32f..f8c5267e30 100644 --- a/Utilities/Doxygen/CMakeLists.txt +++ b/Utilities/Doxygen/CMakeLists.txt @@ -10,6 +10,10 @@ IF (BUILD_DOCUMENTATION) # # Configure the script and the doxyfile, then add target # + IF(NOT DOT_PATH) + GET_FILENAME_COMPONENT(DOT_PATH ${DOT} PATH) + ENDIF(NOT DOT_PATH) + CONFIGURE_FILE( ${CMAKE_SOURCE_DIR}/Utilities/Doxygen/doxyfile.in ${CMAKE_BINARY_DIR}/Utilities/Doxygen/doxyfile) -- cgit v1.2.1