okular/config-okular.h.cmake
Sune Vuorela 720e08220d Allow dbus to be disabled
In certain usecases, especially for non-linux desktop builds, the
advantage of of dbus is often limited. Provide a way to disable
building with dbus.

Note that this also disables the related functionalities of having a
second okular launch open the document in the first okular.

This also disables the unit tests that tests those features.
2023-07-18 07:53:42 +00:00

27 lines
721 B
CMake

/* Defines if force the use DRM in okular */
#define OKULAR_FORCE_DRM ${_OKULAR_FORCE_DRM}
/* Defines if the purpose framework is available */
#cmakedefine01 HAVE_PURPOSE
/* Defines if qtspeech is available */
#cmakedefine01 HAVE_SPEECH
/* Defines if kwallet is available */
#cmakedefine01 HAVE_KWALLET
/* Defines if QJSEngine is available*/
#cmakedefine01 HAVE_JS
/* Defines whether the malloc_trim method from malloc.h is available */
#cmakedefine01 HAVE_MALLOC_TRIM
/* Defines whether we are building with X11 support */
#cmakedefine01 HAVE_X11
/* Defines wheter we are building with Phonon support */
#cmakedefine01 HAVE_PHONON
/* Defines whether we are building with dbus enabled */
#cmakedefine01 HAVE_DBUS