Make the output directory used by doxygen absolute to avoid dependency on a particular working directory

This commit is contained in:
Ralf Habacker 2019-01-24 00:07:07 +01:00
parent 30b9cc540c
commit 89847f7042
2 changed files with 2 additions and 1 deletions

View file

@ -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

View file

@ -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()