File: doxygen.patch

package info (click to toggle)
openigtlink 3.0.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,080 kB
  • sloc: cpp: 20,076; ansic: 6,704; sh: 227; perl: 74; makefile: 46
file content (28 lines) | stat: -rw-r--r-- 1,234 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Index: openigtlink/Documents/Doxygen/CMakeLists.txt
===================================================================
--- openigtlink.orig/Documents/Doxygen/CMakeLists.txt
+++ openigtlink/Documents/Doxygen/CMakeLists.txt
@@ -1,10 +1,6 @@
 #-- Add an Option to toggle the generation of the API documentation
 if(BUILD_DOCUMENTATION)
 
-  FIND_PACKAGE(Doxygen QUIET)
-  if (NOT DOXYGEN_FOUND)
-    message(FATAL_ERROR "Doxygen is needed to build the documentation. Please install it correctly")
-  endif()
 
   #IF (BUILD_DOXYGEN)
     CONFIGURE_FILE(${OpenIGTLink_SOURCE_DIR}/Utilities/Doxygen/doxygen.config.in
@@ -13,12 +9,6 @@ if(BUILD_DOCUMENTATION)
     CONFIGURE_FILE(${OpenIGTLink_SOURCE_DIR}/Utilities/Doxygen/igtldoxygen.pl.in
                  ${OpenIGTLink_BINARY_DIR}/Utilities/Doxygen/igtldoxygen.pl)
     
-    ADD_CUSTOM_TARGET(Documentation 
-      COMMAND ${DOXYGEN_EXECUTABLE} ${OpenIGTLink_BINARY_DIR}/Utilities/Doxygen/doxygen.config
-      MAIN_DEPENDENCY ${OpenIGTLink_BINARY_DIR}/Utilities/Doxygen/doxygen.config
-      DEPENDS         ${OpenIGTLink_BINARY_DIR}/Utilities/Doxygen/igtldoxygen.pl
-      WORKING_DIRECTORY ${OpenIGTLink_BINARY_DIR}/Utilities/Doxygen
-      )
   #ENDIF (BUILD_DOXYGEN)
 
 endif()