blob: c2474ae4f1e1f98905a22fd0df69d93458522fc8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
diff -urN drumstick-0.5.0.old/CMakeLists.txt drumstick-0.5.0/CMakeLists.txt
--- drumstick-0.5.0.old/CMakeLists.txt 2010-09-09 12:38:56.000000000 +0200
+++ drumstick-0.5.0/CMakeLists.txt 2011-05-13 11:03:30.156962982 +0200
@@ -143,6 +143,8 @@
ADD_SUBDIRECTORY(library)
ADD_SUBDIRECTORY(utils)
ADD_SUBDIRECTORY(icons)
+OPTION(WITH_DOC "Build documentation" ON)
+IF( WITH_DOC )
IF(${CMAKE_SYSTEM} MATCHES "Linux")
FIND_PACKAGE(Doxygen)
IF(DOXYGEN_FOUND)
@@ -157,6 +159,7 @@
ENDIF(DOXYGEN_FOUND)
ADD_SUBDIRECTORY(doc)
ENDIF(${CMAKE_SYSTEM} MATCHES "Linux")
+ENDIF( WITH_DOC )
CONFIGURE_FILE(drumstick-alsa.pc.in drumstick-alsa.pc IMMEDIATE @ONLY)
CONFIGURE_FILE(drumstick-file.pc.in drumstick-file.pc IMMEDIATE @ONLY)
|