aboutsummaryrefslogtreecommitdiff
path: root/multimedia/libopenshot/files/patch-CMakeLists.txt
blob: 1c523fc742a8bdcf9b65a91cddbf9b486b62d883 (plain) (blame)
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
29
--- CMakeLists.txt.orig	2024-12-21 22:27:30 UTC
+++ CMakeLists.txt
@@ -130,7 +130,7 @@ add_subdirectory(src)
 ### Process subdirectories
 ###
 add_subdirectory(src)
-add_subdirectory(examples)
+#add_subdirectory(examples)
 add_subdirectory(bindings)
 
 ###
@@ -188,6 +188,8 @@ if (ENABLE_LIB_DOCS AND CMAKE_VERSION VERSION_GREATER 
     set(DOXYGEN_INTERACTIVE_SVG YES)
     set(DOXYGEN_DOT_TRANSPARENT YES)
 
+    set(DOXYGEN_DOT_GRAPH_MAX_NODES "100")
+
     doxygen_add_docs(${PROJECT_NAME}-doc
       ${PROJECT_SOURCE_DIR}/src
       ${PROJECT_SOURCE_DIR}/doc
@@ -208,7 +210,7 @@ if (TARGET ${PROJECT_NAME}-doc)
     OPTIONAL )    # No error if the docs aren't found
 
   if(NOT TARGET doc)
-    add_custom_target(doc)
+    add_custom_target(doc ALL)
   endif()
   if(TARGET doc)
     add_dependencies(doc ${PROJECT_NAME}-doc)