From 21ccd5e789d5eaa3bf9c8595efd2ea41139145b4 Mon Sep 17 00:00:00 2001 From: Julian Waller Date: Mon, 3 Jun 2024 21:41:04 +0100 Subject: [PATCH] fix: build failing when doxygen is installed --- src/CMakeModules/patches/cef117.patch | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) 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()