X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=CMakeLists.txt;h=791ecb4f35ad399a710bd9ed940c3c7e15eb90c1;hp=8293af05977c62143d2450da3a0b08e92f4f6671;hb=11a1e4372551439769eafba3f3f5403adff763fb;hpb=a27d49cabc3e0fc2831fb65d786d37601c43fed9 diff --git a/CMakeLists.txt b/CMakeLists.txt index 8293af05..791ecb4f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -71,8 +71,22 @@ else() endif() cmake_dependent_option(WITH_OXYGEN "Install Oxygen icon set (usually shipped with KDE)" ON "NOT WITH_KDE" OFF) +cmake_dependent_option(WITH_BREEZE "Install Breeze icon set (usually shipped with KDE)" OFF "NOT WITH_KDE" OFF) +cmake_dependent_option(WITH_BREEZE_DARK "Install Dark Breeze icon set (usually shipped with KDE)" OFF "NOT WITH_KDE" OFF) if (NOT WITH_KDE) add_feature_info(WITH_OXYGEN WITH_OXYGEN "Install Oxygen icon set") + add_feature_info(WITH_BREEZE WITH_BREEZE "Install Breeze icon set. Alternative to Oxygen.") + add_feature_info(WITH_BREEZE_DARK WITH_BREEZE_DARK "Install Dark Breeze icon set. Alternative to Oxygen.") +endif() + +if (WITH_OXYGEN) + add_definitions(-DWITH_OXYGEN) +endif() +if (WITH_BREEZE) + add_definitions(-DWITH_BREEZE) +endif() +if (WITH_BREEZE_DARK) + add_definitions(-DWITH_BREEZE_DARK) endif() # For this, the feature info is added after we know if QtWebkit is installed