From 52bb99f81fdc5557c7f79735fb41990cd4a23e9b Mon Sep 17 00:00:00 2001 From: Gabriel Ferreira Date: Wed, 2 Nov 2022 15:35:57 -0300 Subject: [PATCH] build: replace find_package(Doxygen) with the result from check_deps --- build-support/macros-and-definitions.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-support/macros-and-definitions.cmake b/build-support/macros-and-definitions.cmake index 3b962bdfc..2d314cb93 100644 --- a/build-support/macros-and-definitions.cmake +++ b/build-support/macros-and-definitions.cmake @@ -975,7 +975,7 @@ macro(process_options) add_custom_target(doxygen-no-build COMMAND ${doxygen_missing_msg}) else() # We checked this already exists, but we need the path to the executable - find_package(Doxygen QUIET) + set(DOXYGEN_EXECUTABLE ${DOXYGEN}) # Get introspected doxygen add_custom_target(