set(QUASSEL_MAJOR 0)
set(QUASSEL_MINOR 13)
set(QUASSEL_PATCH 0)
-set(QUASSEL_VERSION_STRING "0.13-pre")
+set(QUASSEL_VERSION_STRING "0.13-rc1")
# Build type
if (CMAKE_CONFIGURATION_TYPES)
if (ECM_FOUND)
list(APPEND CMAKE_MODULE_PATH ${ECM_MODULE_PATH})
if (WITH_KDE)
- find_package(KF5 COMPONENTS ConfigWidgets CoreAddons Notifications NotifyConfig TextWidgets WidgetsAddons XmlGui QUIET)
+ find_package(KF5 COMPONENTS ConfigWidgets CoreAddons Notifications NotifyConfig Sonnet TextWidgets WidgetsAddons XmlGui QUIET REQUIRED)
set_package_properties(KF5 PROPERTIES TYPE REQUIRED
URL "http://www.kde.org"
DESCRIPTION "KDE Frameworks"
set(EMBED_DATA OFF)
# Better have the compile flags global, even for the core, to avoid problems with linking the mono client
- add_definitions(-DHAVE_KDE -DHAVE_KDE4 ${KDE4_DEFINITIONS})
+ add_definitions(-DHAVE_KDE -DHAVE_KDE4 ${KDE4_DEFINITIONS} ${KDE4_ENABLE_EXCEPTIONS})
set(WITH_KDE4 TRUE)
endif()
include(KDECompilerSettings)
include(KDECMakeSettings)
+ kde_enable_exceptions()
add_definitions(-DHAVE_KDE -DHAVE_KF5)
set(WITH_KF5 TRUE)
endif()