summaryrefslogtreecommitdiffstats
path: root/Utilities/Doxygen
diff options
context:
space:
mode:
authorSebastien Barre <sebastien.barre@kitware.com>2004-06-08 21:26:48 (GMT)
committerSebastien Barre <sebastien.barre@kitware.com>2004-06-08 21:26:48 (GMT)
commit6037cc8b3b7c1dc241a5832b21b8bf029bcf7351 (patch)
tree9e4c53de03a2c9318d9200844c6577372b854519 /Utilities/Doxygen
parent32ccf38c58b1eac0578f8689e0dd7760a754d483 (diff)
downloadCMake-6037cc8b3b7c1dc241a5832b21b8bf029bcf7351.zip
CMake-6037cc8b3b7c1dc241a5832b21b8bf029bcf7351.tar.gz
CMake-6037cc8b3b7c1dc241a5832b21b8bf029bcf7351.tar.bz2
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)
Diffstat (limited to 'Utilities/Doxygen')
-rw-r--r--Utilities/Doxygen/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/Utilities/Doxygen/CMakeLists.txt b/Utilities/Doxygen/CMakeLists.txt
index a185c2a..f8c5267 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)