- add_feature_info("WITH_WEBKIT and QtWebKit module" HAVE_WEBKIT "Support showing previews for URLs in chat")
-
- if (WITH_KDE)
- # KDE has overzealous CFLAGS making miniz not compile, so save our old flags
- set(_cflags ${CMAKE_C_FLAGS})
- find_package(KDE4 4.4 QUIET)
- set_package_properties(KDE4 PROPERTIES TYPE REQUIRED
- URL "http://www.kde.org"
- DESCRIPTION "a world-class desktop environment"
- PURPOSE "Enables various bits for improving integration with KDE"
- )
- set(CMAKE_C_FLAGS ${_cflags})
-
- else(WITH_KDE)
- find_package(Phonon QUIET)
- set_package_properties(Phonon PROPERTIES TYPE RECOMMENDED
- URL "https://projects.kde.org/projects/kdesupport/phonon"
- DESCRIPTION "a multimedia abstraction library"
- PURPOSE "Required for audio notifications"
- )
-
- find_package(Libsnore QUIET)
- set_package_properties(Libsnore PROPERTIES TYPE OPTIONAL
- URL "https://github.com/TheOneRing/Snorenotify"
- DESCRIPTION "a cross-platform notification framework"
- PURPOSE "Enable support for the snorenotify framework"
- )
- endif(WITH_KDE)
-
- find_package(IndicateQt QUIET)
- set_package_properties(IndicateQt PROPERTIES TYPE OPTIONAL
- URL "https://launchpad.net/libindicate-qt/"
- DESCRIPTION "a library to raise flags on DBus for other components of the desktop to pick up and visualize"
- PURPOSE "Provides integration into the Ayatana notification system used by e.g. Ubuntu"
- )
-
- endif(BUILD_GUI)
-
- if (BUILD_CORE)
-
- find_package(QCA2 QUIET)
- set_package_properties(QCA2 PROPERTIES TYPE RECOMMENDED
- URL "https://projects.kde.org/projects/kdesupport/qca"
- DESCRIPTION "Qt Cryptographic Architecture"
- PURPOSE "Required for encryption support"
- )
-
-
- endif()
-
- # Qt4 does not consider lconvert relevant, so they don't support finding it...
- # Rather than shipping hacked buildsys files, let's just infer the path from lrelease
- if (QT_LRELEASE_EXECUTABLE)
- get_filename_component(_lrelease_path ${QT_LRELEASE_EXECUTABLE} PATH)
- find_program(QT_LCONVERT_EXECUTABLE NAMES lconvert-qt4 lconvert PATHS ${_lrelease_path} NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH)