Skip to content

Commit

Permalink
fix: build failing when doxygen is installed
Browse files Browse the repository at this point in the history
  • Loading branch information
Julusian committed Jun 3, 2024
1 parent c0c4dd7 commit 21ccd5e
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions src/CMakeModules/patches/cef117.patch
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,26 @@

# Project name.
# TODO: Change this line to match your project name when you copy this file.
@@ -234,22 +231,3 @@

# Display configuration settings.
PRINT_CEF_CONFIG()
-
-
-#
-# Define the API documentation target.
-#
-
-find_package(Doxygen)
-if(DOXYGEN_FOUND)
- add_custom_target(apidocs ALL
- # Generate documentation in the docs/html directory.
- COMMAND "${DOXYGEN_EXECUTABLE}" Doxyfile
- # Write a docs/index.html file.
- COMMAND ${CMAKE_COMMAND} -E echo "<html><head><meta http-equiv=\"refresh\" content=\"0;URL='html/index.html'\"/></head></html>" > docs/index.html
- WORKING_DIRECTORY "${CEF_ROOT}"
- COMMENT "Generating API documentation with Doxygen..."
- VERBATIM )
-else()
- message(WARNING "Doxygen must be installed to generate API documentation.")
-endif()

0 comments on commit 21ccd5e

Please sign in to comment.