diff --git a/src/CMakeModules/patches/cef117.patch b/src/CMakeModules/patches/cef117.patch index 9b4b7ea7e7..07f3477645 100644 --- a/src/CMakeModules/patches/cef117.patch +++ b/src/CMakeModules/patches/cef117.patch @@ -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 "" > 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()