[cmake-commits] hoffman committed FindDoxygen.cmake 1.10 1.11
cmake-commits at cmake.org
cmake-commits at cmake.org
Mon Oct 23 14:51:59 EDT 2006
Update of /cvsroot/CMake/CMake/Modules
In directory public:/mounts/ram/cvs-serv15349
Modified Files:
FindDoxygen.cmake
Log Message:
ENH: put in backwards compatibility for older cmake
Index: FindDoxygen.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/FindDoxygen.cmake,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- FindDoxygen.cmake 16 Oct 2006 14:47:18 -0000 1.10
+++ FindDoxygen.cmake 23 Oct 2006 18:51:56 -0000 1.11
@@ -3,7 +3,11 @@
# With the OS X GUI version, it likes to be installed to /Applications and
# it contains the doxygen executable in the bundle. In the versions I've
# seen, it is located in Resources, but in general, more often binaries are
-# located in MacOS.
+# located in MacOS. This code sets the following variables:
+# DOXYGEN_EXECUTABLE = The path to the doxygen command.
+# DOXYGEN_DOT_EXECUTABLE = The path to the dot program used by doxygen.
+# DOXYGEN = same as DOXYGEN_EXECUTABLE for backwards compatibility
+# DOT = same as DOXYGEN_DOT_EXECUTABLE for backwards compatibility
# The official Doxygen.app that is distributed for OS X uses non-standard
# conventions. Instead of the command-line "doxygen" tool being placed in
@@ -87,10 +91,14 @@
# Restore the old app-bundle setting setting
SET(CMAKE_FIND_APPBUNDLE ${TEMP_DOXYGEN_SAVE_CMAKE_FIND_APPBUNDLE})
+# Backwards compatibility for CMake4.3 and less
+SET (DOXYGEN ${DOXYGEN_EXECUTABLE} )
+SET (DOT ${DOXYGEN_DOT_EXECUTABLE} )
+
MARK_AS_ADVANCED(
- DOXYGEN_FOUND,
- DOXYGEN_EXECUTABLE,
- DOXYGEN_DOT_FOUND,
- DOXYGEN_DOT_EXECUTABLE,
- DOXYGEN_DOT_PATH,
+ DOXYGEN_FOUND
+ DOXYGEN_EXECUTABLE
+ DOXYGEN_DOT_FOUND
+ DOXYGEN_DOT_EXECUTABLE
+ DOXYGEN_DOT_PATH
)
More information about the Cmake-commits
mailing list