diff options
author | Ralf Habacker <ralf.habacker@freenet.de> | 2020-02-20 11:04:25 +0100 |
---|---|---|
committer | Ralf Habacker <ralf.habacker@freenet.de> | 2020-02-20 20:02:30 +0100 |
commit | a094728abdb2f164c64454ba2432acf97e1cb26b (patch) | |
tree | 4e9dc054fe028955174fac88597075058b92fc00 /doc | |
parent | 72911888b631f120b5ff5107928c774a6a51f307 (diff) | |
download | dbus-a094728abdb2f164c64454ba2432acf97e1cb26b.tar.gz |
cmake: Don't build dbus.devhelp2 if Doxygen is disabled
Previously this would be attempted whenever xsltproc was found, but
would fail if Doxygen documentation was disabled.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index c7b34a44..6d4d9911 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -44,7 +44,7 @@ if(XSLTPROC_EXECUTABLE) set(DBUS_HAVE_XSLTPROC 1) endif() -if(DBUS_HAVE_XSLTPROC) +if(DBUS_HAVE_XSLTPROC AND DBUS_ENABLE_DOXYGEN_DOCS) add_custom_command( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/dbus.devhelp2 COMMAND ${XSLTPROC_EXECUTABLE} |