X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=CMakeLists.txt;h=205dd86a65e269200dda917cd73859d7240d57d1;hp=c765699322b018b6752a288442e72bb1113b62eb;hb=6d77f281c4e9862ab00a00cedf2de941046f1421;hpb=2351076991b1ccb6bd3ef06ed11450fedd74bba5 diff --git a/CMakeLists.txt b/CMakeLists.txt index c7656993..205dd86a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -69,7 +69,10 @@ option(STATIC "Enable static building (might not be portable)" OFF) if(APPLE) option(DEPLOY "Mac OS X only! Adds required libs to bundle resources and create a dmg. Note: requires Qt to be built with 10.4u SDK" OFF) - option(WITH_NOTIFICATION_CENTER "Enable OS X Notification Center support" ON) + # Notification Center is only available in > 10.8, which is Darwin v12 + if(CMAKE_SYSTEM_VERSION VERSION_GREATER "11.9.9") + option(WITH_NOTIFICATION_CENTER "Enable OS X Notification Center support" ON) + endif(CMAKE_SYSTEM_VERSION VERSION_GREATER "11.9.9") endif(APPLE) # Default to embedding data in the static case @@ -322,7 +325,7 @@ if(BUILD_GUI) include_directories(${KDE4_INCLUDES}) add_definitions(-DHAVE_KDE ${KDE4_DEFINITIONS}) set(HAVE_KDE 1) - set(CLIENT_LIBRARIES ${CLIENT_LIBRARIES} ${KDE4_KDECORE_LIBS} ${KDE4_KDEUI_LIBRARY} ${KDE4_SOLID_LIBS} knotifyconfig) + set(CLIENT_LIBRARIES ${CLIENT_LIBRARIES} ${KDE4_KDECORE_LIBS} ${KDE4_KDEUI_LIBRARY} ${KDE4_SOLID_LIBS} ${KDE4_KNOTIFYCONFIG_LIBRARY}) # We always use external icons for KDE4 support, since we use its iconloader rather than our own set(EMBED_DATA OFF) else(KDE4_FOUND)