Skip to content

Commit 21ccd5e

Browse files
committed
fix: build failing when doxygen is installed
1 parent c0c4dd7 commit 21ccd5e

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

src/CMakeModules/patches/cef117.patch

+23
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,26 @@
1414

1515
# Project name.
1616
# TODO: Change this line to match your project name when you copy this file.
17+
@@ -234,22 +231,3 @@
18+
19+
# Display configuration settings.
20+
PRINT_CEF_CONFIG()
21+
-
22+
-
23+
-#
24+
-# Define the API documentation target.
25+
-#
26+
-
27+
-find_package(Doxygen)
28+
-if(DOXYGEN_FOUND)
29+
- add_custom_target(apidocs ALL
30+
- # Generate documentation in the docs/html directory.
31+
- COMMAND "${DOXYGEN_EXECUTABLE}" Doxyfile
32+
- # Write a docs/index.html file.
33+
- COMMAND ${CMAKE_COMMAND} -E echo "<html><head><meta http-equiv=\"refresh\" content=\"0;URL='html/index.html'\"/></head></html>" > docs/index.html
34+
- WORKING_DIRECTORY "${CEF_ROOT}"
35+
- COMMENT "Generating API documentation with Doxygen..."
36+
- VERBATIM )
37+
-else()
38+
- message(WARNING "Doxygen must be installed to generate API documentation.")
39+
-endif()

0 commit comments

Comments
 (0)