X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=CMakeLists.txt;h=d968a68a68dea771bc46cb4a90462f3910c4c2ec;hp=a59ab825c6a2d458eeff1b0a4bd84e16762c481e;hb=f10bf801801f47929f0a4e98f07d8c0fb9b47c8d;hpb=41f7cd2411c6500bd6a07be63f3adb1c0eb890a7 diff --git a/CMakeLists.txt b/CMakeLists.txt index a59ab825..d968a68a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -571,7 +571,7 @@ if (KDE4_FOUND) 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() @@ -583,6 +583,7 @@ if (USE_QT5 AND WITH_KDE) include(KDECompilerSettings) include(KDECMakeSettings) + kde_enable_exceptions() add_definitions(-DHAVE_KDE -DHAVE_KF5) set(WITH_KF5 TRUE) endif()