From 89847f70426a44cfb236416110457a375ac377a3 Mon Sep 17 00:00:00 2001 From: Ralf Habacker Date: Thu, 24 Jan 2019 00:07:07 +0100 Subject: [PATCH] Make the output directory used by doxygen absolute to avoid dependency on a particular working directory --- Doxyfile.in | 2 +- doc/CMakeLists.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Doxyfile.in b/Doxyfile.in index b5bd51c9..f1377504 100644 --- a/Doxyfile.in +++ b/Doxyfile.in @@ -5,7 +5,7 @@ #--------------------------------------------------------------------------- PROJECT_NAME = D-Bus PROJECT_NUMBER = @VERSION@ -OUTPUT_DIRECTORY = doc/api +OUTPUT_DIRECTORY = @top_builddir@/doc/api OUTPUT_LANGUAGE = English EXTRACT_ALL = NO EXTRACT_PRIVATE = NO diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index 5a5eb85a..6c29ba45 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -12,6 +12,7 @@ endif() if(DBUS_ENABLE_DOXYGEN_DOCS) set(top_srcdir ${CMAKE_SOURCE_DIR}) + set(top_builddir ${CMAKE_BINARY_DIR}) if(WIN32) set(DBUS_GENERATE_MAN NO) else()